[brasero/gnome-2-28] Fix forgotten unref that left BraseroBurnSession with one ref and therefore all temp files after a b
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] Fix forgotten unref that left BraseroBurnSession with one ref and therefore all temp files after a b
- Date: Mon, 19 Oct 2009 15:15:39 +0000 (UTC)
commit 8f59eabe2d0500af8600355896bf60ab4ca5c442
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Oct 11 20:54:00 2009 +0200
Fix forgotten unref that left BraseroBurnSession with one ref and therefore all temp files after a burning
src/brasero-project.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index 3a432ca..72d5f70 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -1202,6 +1202,11 @@ brasero_project_finalize (GObject *object)
BraseroProject *cobj;
cobj = BRASERO_PROJECT(object);
+ if (cobj->priv->session) {
+ g_object_unref (cobj->priv->session);
+ cobj->priv->session = NULL;
+ }
+
if (cobj->priv->project)
g_free (cobj->priv->project);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]