Re: How to deallocate memory?
- From: Havoc Pennington <hp redhat com>
- To: Esteban Quijano Vincenzi <Esteban Quijano artinsoft com>
- Cc: gtk-list gnome org
- Subject: Re: How to deallocate memory?
- Date: 13 Jul 2001 13:44:03 -0400
Esteban Quijano Vincenzi <Esteban Quijano artinsoft com> writes:
> Is it possible to free the memory allocated for a widget using
> gtk_widget_destroy().
> However, when I try to free a window or a button with
> gtk_widget_destroy(GTK_WIDGET(widget))
> I have a run-time error saying that it is not a widget.
A bug in your program. Maybe you are freeing things twice and the
second time you have junk memory instead of a widget.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]