[brasero] Don't leak part of the results
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Don't leak part of the results
- Date: Sun, 15 Nov 2009 15:07:23 +0000 (UTC)
commit 9bcaec34b19f9c5fb950d781078f4668604bb54c
Author: Rouquier Philippe <bonfire-app wanadoo fr>
Date: Sun Nov 15 16:07:24 2009 +0100
Don't leak part of the results
src/brasero-search-tracker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
index 76265bd..80763ce 100644
--- a/src/brasero-search-tracker.c
+++ b/src/brasero-search-tracker.c
@@ -332,7 +332,7 @@ brasero_search_tracker_clean (BraseroSearchTracker *search)
priv = BRASERO_SEARCH_TRACKER_PRIVATE (search);
if (priv->results) {
- g_ptr_array_foreach (priv->results, (GFunc) g_free, NULL);
+ g_ptr_array_foreach (priv->results, (GFunc) g_strfreev, NULL);
g_ptr_array_free (priv->results, TRUE);
priv->results = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]