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:
committed by
Matthias Clasen
parent
bae05d11d4
commit
a0063d39d2
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user