Need help with a memory leak. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need help with a memory leak.

Not sure what node or nodes are not being free'd. Valgrind tells me I have a memory leak. What advice can you give for me to look at? Thank you for your assistance. https://code.sololearn.com/ceB2B872qpzb/?ref=app

5th Feb 2023, 2:05 AM
William Owens
William Owens - avatar
1 Answer
+ 4
Found the memory leak. The freed() was not looping before.
5th Feb 2023, 3:16 AM
William Owens
William Owens - avatar