1

Solved all problems: reachable memory - in linked list added a new item in the end: iterate to the last item in list (not to null, but the last which refers to allocate memory for new word in the list, add the word, and next -> null free temporary node also met with some errors, like: ==1281== ==1281== HEAP SUMMARY: ==1281== in use at exit: 0 ...


Only top voted, non community-wiki answers of a minimum length are eligible