Valgrind reports memleak in insertTail. Attempting fix.