Need help with a memory leak. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 4
Found the memory leak. The freed() was not looping before.
5th Feb 2023, 3:16 AM
William Owens
William Owens - avatar