Posted by Pradeep Bisht on 2001-05-29
hi ... i'm compiling a c project of mine... when i compile it without optimisation options -O2 the purify utility shows no memory leakages and the program runs fine... but when i compile the program with -O2 it shows a lot of memory leakages...and all those memory leakages r those places...in cases where i'm allocating memory in one function and freeing that memory in sum other function...the memory allocation is done bi passing the pointer to pointer... ani reasons and solution for this prob.. thanks in advance bi...bi... with regards... pradeep...
Previous post | Next post | Timeline | Home