Re: Avoid Memory Leakage

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

 



Hi,

Christoph Kappel <unexist@xxxxxxxxxxxxxxx> writes:

> I will try to make a text case later, guess the leak occurs only in
> conjunction with the GIOChannels. I don't use any GStrings in my
> project, except the GString buffer from the GIOChannels. Closing the
> channel und flushing the buffer should be enough to free all
> allocated memory, isn't it?

You need to unref the GIOChannel as well. Actually the typical usage
is not to close explicitely but to set close_on_unref().


Sven
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux