From 59d658187c7ea4a43960490c167bf40ae9ecb049 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 24 Feb 2005 20:28:26 +0000 Subject: [PATCH] Don't leak parent_path. (#168435, Morten Welinder) 2005-02-24 Matthias Clasen * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): Don't leak parent_path. (#168435, Morten Welinder) --- ChangeLog | 7 ++++++- ChangeLog.pre-2-10 | 7 ++++++- ChangeLog.pre-2-8 | 7 ++++++- gtk/gtkfilechooserdefault.c | 1 + 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 116257453e..d8090ef164 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-24 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): + Don't leak parent_path. (#168435, Morten Welinder) + Thu Feb 24 14:20:16 2005 Søren Sandmann * gtk/gtkstyle.c: Add @@ -14,7 +19,7 @@ Thu Feb 24 14:20:16 2005 Søren Sandmann 2005-02-24 Matthias Clasen - Fix #167259, reported by Christian Persch: + Fix #167259, reported by Christian Persch: * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented widget, even if we avoid the unrealizing. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 116257453e..d8090ef164 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-02-24 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): + Don't leak parent_path. (#168435, Morten Welinder) + Thu Feb 24 14:20:16 2005 Søren Sandmann * gtk/gtkstyle.c: Add @@ -14,7 +19,7 @@ Thu Feb 24 14:20:16 2005 Søren Sandmann 2005-02-24 Matthias Clasen - Fix #167259, reported by Christian Persch: + Fix #167259, reported by Christian Persch: * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented widget, even if we avoid the unrealizing. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 116257453e..d8090ef164 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-02-24 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): + Don't leak parent_path. (#168435, Morten Welinder) + Thu Feb 24 14:20:16 2005 Søren Sandmann * gtk/gtkstyle.c: Add @@ -14,7 +19,7 @@ Thu Feb 24 14:20:16 2005 Søren Sandmann 2005-02-24 Matthias Clasen - Fix #167259, reported by Christian Persch: + Fix #167259, reported by Christian Persch: * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented widget, even if we avoid the unrealizing. diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 22738430bd..eb2df63d73 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -4867,6 +4867,7 @@ gtk_file_chooser_default_select_path (GtkFileChooser *chooser, return result; } + gtk_file_path_free (parent_path); return TRUE; }