[brasero/gnome-2-30] Fix memory leak
- From: Philippe Rouquier <philippr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-30] Fix memory leak
- Date: Mon, 10 May 2010 20:19:48 +0000 (UTC)
commit 046491d16f4fb7fe91052775b17f537a96c985e9
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]