Don't leak match data. (#345107, Christian Weiske)

2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
	leak match data.  (#345107,  Christian Weiske)
This commit is contained in:
Matthias Clasen 2006-06-16 17:42:40 +00:00 committed by Matthias Clasen
parent bae05d11d4
commit a0063d39d2
3 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-06-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
leak match data. (#345107, Christian Weiske)
* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
label out of the button box. (#339456, Christian Persch)

View File

@ -1,5 +1,8 @@
2006-06-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
leak match data. (#345107, Christian Weiske)
* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
label out of the button box. (#339456, Christian Persch)

View File

@ -572,6 +572,9 @@ gtk_entry_completion_finalize (GObject *object)
if (completion->priv->popup_window)
gtk_widget_destroy (completion->priv->popup_window);
if (completion->priv->match_notify)
(* completion->priv->match_notify) (completion->priv->match_data);
G_OBJECT_CLASS (gtk_entry_completion_parent_class)->finalize (object);
}