[brasero] Fix a possible crash



commit 2bcf8bc905081a37a5fb94c4a1e9779364daad22
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Sep 4 14:33:29 2009 +0200

    Fix a possible crash

 libbrasero-utils/brasero-metadata.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-utils/brasero-metadata.c b/libbrasero-utils/brasero-metadata.c
index 8a22b54..2454939 100644
--- a/libbrasero-utils/brasero-metadata.c
+++ b/libbrasero-utils/brasero-metadata.c
@@ -912,9 +912,12 @@ static void
 brasero_metadata_install_plugins_completed (BraseroMetadataGstDownload *download)
 {
 	GSList *iter;
+	GSList *next;
 
-	for (iter = download->objects; iter; iter = iter->next)
+	for (iter = download->objects; iter; iter = next) {
+		next = iter->next;
 		brasero_metadata_completed (BRASERO_METADATA (iter->data));
+	}
 }
 
 static void



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