[brasero] Fix memleak



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]