summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-06-16 17:42:40 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-06-16 17:42:40 +0000
commita0063d39d25bef3a28fb87b0defad9d9512d1c5a (patch)
tree335fc22a5b5d004f1d2aaa003c8d6ede17382189 /gtk
parentbae05d11d45bbb7c4cd8edbccbd16961567f4cc0 (diff)
downloadgtk+-a0063d39d25bef3a28fb87b0defad9d9512d1c5a.tar.gz
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)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkentrycompletion.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 54644fabe3..34d9bd0998 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -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);
}