[brasero] Fix memleak
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix memleak
- Date: Wed, 2 Dec 2009 18:42:03 +0000 (UTC)
commit 44f822053fb7cce4b23749e23f1b289c90844dd6
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Dec 2 16:04:31 2009 +0100
Fix memleak
This should be backported to 2.28
libbrasero-utils/brasero-metadata.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libbrasero-utils/brasero-metadata.c b/libbrasero-utils/brasero-metadata.c
index 41a4728..b26f04f 100644
--- a/libbrasero-utils/brasero-metadata.c
+++ b/libbrasero-utils/brasero-metadata.c
@@ -666,9 +666,7 @@ brasero_metadata_install_missing_plugins (BraseroMetadata *self)
downloads);
gst_install_plugins_context_free (context);
-
- /* FIXME: shouldn't we free the array as well? */
- g_ptr_array_free (details, FALSE);
+ g_ptr_array_free (details, TRUE);
BRASERO_UTILS_LOG ("Download status %i", status);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]