You are viewing a single comment's thread. Return to all comments →
And it produces memory leaks!
To clear memory leaks, you need to traverse once again and keep freeing memory before going to the next node. You can try in your machine with extra function for clearing them.