[brasero] 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] Fix forgotten unref that left BraseroBurnSession with one ref and therefore all temp files after a b
- Date: Sun, 11 Oct 2009 18:54:16 +0000 (UTC)
commit 7275aeacfea232579bf90c63c1e710bc92a1ab32
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 c38b400..ff6aaa2 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -1203,6 +1203,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]