1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy current_path and requested_path
Этот коммит содержится в:
родитель
3b4af7d7ef
Коммит
5daec90384
@ -1,3 +1,8 @@
|
|||||||
|
1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy
|
||||||
|
current_path and requested_path
|
||||||
|
|
||||||
1999-04-13 Jonathan Blandford <jrb@redhat.com>
|
1999-04-13 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* mc.keys.in.in: updated the key files to add more types.
|
* mc.keys.in.in: updated the key files to add more types.
|
||||||
|
@ -576,6 +576,12 @@ gtk_dtree_destroy (GtkObject *object)
|
|||||||
gdk_bitmap_unref (dtree->bitmap_open);
|
gdk_bitmap_unref (dtree->bitmap_open);
|
||||||
gdk_bitmap_unref (dtree->bitmap_close);
|
gdk_bitmap_unref (dtree->bitmap_close);
|
||||||
|
|
||||||
|
if (dtree->current_path)
|
||||||
|
g_free (dtree->current_path);
|
||||||
|
|
||||||
|
if (dtree->requested_path)
|
||||||
|
g_free (dtree->requested_path);
|
||||||
|
|
||||||
(GTK_OBJECT_CLASS (parent_class))->destroy (object);
|
(GTK_OBJECT_CLASS (parent_class))->destroy (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user