1
SCHNAaP/SCHNArP / GLH_build() Memory Leak
« on: May 15, 2009, 09:11:20 pm »
I took out the printf()s from GLH_build() and hard coded the user-response values that I want, so that I do not have to enter them in every time I run the function. When I call GLH_build() in a loop, my memory usage increases with each iteration. I assume this behavior is not wanted. There seems to be a memory leak somewhere. I tried looking through the code to make sure the mallocs are all freed, but I have not found any red flags. Any idea why/where this is happening?
Thanks!
Thanks!