[bijiben] mainToolbar: fix leak on GtkTreePath Glist
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] mainToolbar: fix leak on GtkTreePath Glist
- Date: Sat, 16 Mar 2013 19:59:49 +0000 (UTC)
commit d061d9f2ce0ac050112ef6342764c438a6c39a32
Author: Pierre-Yves Luyten <py luyten fr>
Date: Sat Mar 16 20:59:11 2013 +0100
mainToolbar: fix leak on GtkTreePath Glist
src/bjb-main-toolbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index c9d056c..18adbcf 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -184,6 +184,7 @@ update_selection_label (GdMainView *view, BjbMainToolbar *self)
selected = gd_main_view_get_selection(view);
length = g_list_length (selected);
+ g_list_free (selected);
if (length == 0)
label = g_strdup(_("Click on items to select them"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]