diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-16 17:42:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-16 17:42:40 +0000 |
commit | a0063d39d25bef3a28fb87b0defad9d9512d1c5a (patch) | |
tree | 335fc22a5b5d004f1d2aaa003c8d6ede17382189 | |
parent | bae05d11d45bbb7c4cd8edbccbd16961567f4cc0 (diff) | |
download | gtk+-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)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | gtk/gtkentrycompletion.c | 3 |
3 files changed, 9 insertions, 0 deletions
@@ -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) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 485f50aa3c..61a22abfca 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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) 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); } |