From c1af2aa6b21c0218dd73c1600921966a08f4e7da Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Aug 2004 02:45:18 +0000 Subject: [PATCH] Don't leak the path. Sun Aug 8 11:01:23 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak the path. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkcombobox.c | 2 ++ 5 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 078e83cd5f..e53ece0171 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 8 11:01:23 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak + the path. + 2004-08-08 Hans Breuer * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 078e83cd5f..e53ece0171 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Aug 8 11:01:23 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak + the path. + 2004-08-08 Hans Breuer * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 078e83cd5f..e53ece0171 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Aug 8 11:01:23 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak + the path. + 2004-08-08 Hans Breuer * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 078e83cd5f..e53ece0171 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Aug 8 11:01:23 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak + the path. + 2004-08-08 Hans Breuer * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 351f72eb6d..fc56b6d6e2 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -4176,6 +4176,8 @@ gtk_combo_box_set_active (GtkComboBox *combo_box, path = NULL; gtk_combo_box_set_active_internal (combo_box, path); + + gtk_tree_path_free (path); } static void -- GitLab