Re: Memory Leakage
- From: learfox furry ao net
- To: Matthew Russell <twig5151 yahoo com>
- Cc: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: Memory Leakage
- Date: Sun, 28 Jan 2001 21:20:19 -0800 (PST)
I was under the impression that
gtk_widget_destroy() freed the memory of a widget
and it's components. Does this include the text
that's copied into the Clist entries using
gtk_clist_append()?
The gtk_clist_append() takes a pointer to a string.
This string is then internally coppied by gtk_clist_append(),
so you don't need to pass a duplicate string.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]