[brasero] Fix memory leak introduced by recent changes
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix memory leak introduced by recent changes
- Date: Thu, 30 Jul 2009 07:34:35 +0000 (UTC)
commit 96b5524b4fe176432582890b38156cdafdce0a8f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Tue Jul 28 14:37:53 2009 +0200
Fix memory leak introduced by recent changes
src/brasero-data-disc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-data-disc.c b/src/brasero-data-disc.c
index f3600d5..3b8ccf9 100644
--- a/src/brasero-data-disc.c
+++ b/src/brasero-data-disc.c
@@ -1483,14 +1483,15 @@ brasero_data_disc_unset_track (BraseroDataDisc *disc)
/* Remove each button for every available session that can be imported */
if (priv->import_group) {
GList *actions;
+ GList *iter;
actions = gtk_action_group_list_actions (priv->import_group);
- for (; actions; actions = actions->next) {
+ for (iter = actions; iter; iter = iter->next) {
BraseroMedium *medium;
GtkAction *action;
int merge_id;
- action = actions->data;
+ action = iter->data;
/* We reffed the medium associated with the action */
medium = g_object_get_data (G_OBJECT (action), BRASERO_DATA_DISC_MEDIUM);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]