[giggle] Fix memory leak
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Fix memory leak
- Date: Thu, 25 Mar 2010 23:47:49 +0000 (UTC)
commit 6cba38dca87efe6673fe41f23d59ef88ed4848cc
Author: Guilhem Bonnefille <guilhem bonnefille gmail com>
Date: Thu Mar 25 23:14:01 2010 +0100
Fix memory leak
src/giggle-helpers.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/giggle-helpers.c b/src/giggle-helpers.c
index a3a2bff..de8e61d 100644
--- a/src/giggle-helpers.c
+++ b/src/giggle-helpers.c
@@ -128,6 +128,8 @@ giggle_tree_view_select_row_by_string (GtkWidget *treeview,
g_free (text);
return TRUE;
}
+ g_free (text);
+ text = NULL;
if (tree_model_find_string (model, &iter, NULL, column, pattern)) {
path = gtk_tree_model_get_path (model, &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]