Re: multiple calls to g_io_channel_read_line and g_free question



Olivier Sessink wrote:

"newly allocated string" means that for every call to
g_io_channel_read_line() new memory is allocated, so for every call you
have to free the string.

Thank you, my doubt is vanished now !
--
Colossus
Xarchiver, a GTK2 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]