Am Dienstag, den 27.09.2005, 17:53 +0200 schrieb David Rosal:
> gtk_entry_set_text(GTK_ENTRY(entry), g_strdup("banana");
> 
> Am I leaking memory? (...)
> My question is: Is that memory chunk free'd before the program exits?

If I'm taken correctly, your OS is meant to free *all* memory you
allocated during the program execution on exit. Leaks just mean that the
memory is lost during program execution, which can be equally bad if the
application runs for a long time and you leak memory very often, since
the allocated but lost memory is not available for other programs.

-- 
Christian Neumair <[EMAIL PROTECTED]>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to