[gnome-panel] panel-icon-chooser: free allocated string



commit b72624fce4dcbeca945153b05c67708425af221a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 27 00:11:10 2015 +0300

    panel-icon-chooser: free allocated string

 gnome-panel/libpanel-util/panel-icon-chooser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-icon-chooser.c b/gnome-panel/libpanel-util/panel-icon-chooser.c
index 39d6d4d..0ca0437 100644
--- a/gnome-panel/libpanel-util/panel-icon-chooser.c
+++ b/gnome-panel/libpanel-util/panel-icon-chooser.c
@@ -441,6 +441,7 @@ _panel_icon_chooser_clicked (GtkButton *button)
                path = g_build_filename (DATADIR, "icons", NULL);
                gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (filechooser),
                                                     path);
+               g_free (path);
        }
 
        gtk_window_set_destroy_with_parent (GTK_WINDOW (filechooser), TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]