diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 450552fcf..002d104de 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,8 @@ +1999-04-13 Miguel de Icaza + + * gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy + current_path and requested_path + 1999-04-13 Jonathan Blandford * mc.keys.in.in: updated the key files to add more types. diff --git a/gnome/gtkdtree.c b/gnome/gtkdtree.c index 8a909dd46..6ac281a9d 100644 --- a/gnome/gtkdtree.c +++ b/gnome/gtkdtree.c @@ -576,6 +576,12 @@ gtk_dtree_destroy (GtkObject *object) gdk_bitmap_unref (dtree->bitmap_open); 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); }