Need help with a memory leak. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 4
Found the memory leak. The freed() was not looping before.
5th Feb 2023, 3:16 AM
William Owens
William Owens - avatar