aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/about_dlg.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-06-01 17:08:46 +0000
committerBill Meier <wmeier@newsguy.com>2009-06-01 17:08:46 +0000
commite1eff63e0285796967bd2f7dfe968e0d3d8c8899 (patch)
tree53db7dd210ec1726897bf23c788bd36b14ef27f6 /gtk/about_dlg.c
parent8b47fcfdc0d011de3f00a1dc19255aee17e2c2ec (diff)
about_dlg: fix a memory leak when double-clicking on a path.
svn path=/trunk/; revision=28563
Diffstat (limited to 'gtk/about_dlg.c')
-rw-r--r--gtk/about_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c
index e7b4cfb671..f582f07ed4 100644
--- a/gtk/about_dlg.c
+++ b/gtk/about_dlg.c
@@ -348,6 +348,7 @@ static gint about_folders_callback(GtkWidget *widget, GdkEventButton *event, gin
if(gtk_tree_selection_get_selected (tree_selection, &model, &iter)) {
gtk_tree_model_get(model, &iter, 1, &path, -1);
filemanager_open_directory(path);
+ g_free(path);
}
return TRUE;