[brasero] Fix memory leak



commit be95bc70466e553e59dc7b08521a43b9534be676
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon May 10 15:19:59 2010 +0200

    Fix memory leak

 src/brasero-search-entry.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-search-entry.c b/src/brasero-search-entry.c
index 58fed04..8b7ed33 100644
--- a/src/brasero-search-entry.c
+++ b/src/brasero-search-entry.c
@@ -357,7 +357,10 @@ brasero_search_entry_finalize (GObject *object)
 		g_source_remove (cobj->priv->search_id);
 		cobj->priv->search_id = 0;
 	}
-
+	if (cobj->priv->keywords) {
+		g_free (cobj->priv->keywords);
+		cobj->priv->keywords = NULL;
+	}
 	g_free (cobj->priv);
 	cobj->priv = NULL;
 



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