summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-02-25 19:14:18 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-02-25 19:14:18 +0000
commitaf12141d2da2a59c9ccb46e8b2d3b422d41360eb (patch)
tree0695b1b3ab054a6e578890f109d0e836fee7fa54 /gtk/gtkcombobox.c
parent81c1b1dadedf067e163d554ac595a34dc7be0a66 (diff)
downloadgtk+-af12141d2da2a59c9ccb46e8b2d3b422d41360eb.tar.gz
Don't leak a path here. (#168443, Morten Welinder)
2005-02-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a path here. (#168443, Morten Welinder)
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 76a0914402..86046aabe4 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2511,6 +2511,7 @@ gtk_combo_box_menu_fill_level (GtkComboBox *combo_box,
"gtk-combo-box-item-path",
gtk_tree_row_reference_new (model, path),
(GDestroyNotify)gtk_tree_row_reference_free);
+ gtk_tree_path_free (path);
}
else
{