Re: GSList and g_filename_from_uri free memory problem



Gaurav Jain wrote:
you must pass the list's head node pointer to g_slist_free(), which
you will lost if you use Files_to_Add directly (in fact, it will
always be null after the while loop)

Thank you all, I discovered a memory leak in my code. I was not freeing the data pointer inside the GSList. Long life to GTK+2 !!!
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]