Re: GIOChannel, how to free?



On 4/4/07, Alberto Mardegan <mardy users sourceforge net> wrote:

But according to the docs, g_io_channel_unix_new() creates the channel
with a reference count set to 1, so I guess we need a g_object_unref()
somewhere.

http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html#g-io-channel-unref
perhaps?

iain



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