RE: Avoid Memory Leakage



> I've problems with leackage too, but i figured out it's a 
> problem with the glib library. I use the GIOChannels in my 
> project and nowhere any GStrings. I tested my code with 
> valgrind, and i have ever got messages about non-free'd 
> memory. The error seems to occur in g_string_len (), actually 
> i couldn't find any bug report in the bugzilla project.

Make sure that you are using the latest gtk 2.2.x. I remember a very
significant GIOChannel memory bug that Daniel Elstner fixed about a year
ago.

Then try to make a small test case for bugzilla.

Murray Cumming
www.murrayc.com
murrayc usa net



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