[brasero] Fix memory leak
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix memory leak
- Date: Wed, 2 Dec 2009 18:41:52 +0000 (UTC)
commit d6dea6a772e6b60597bd1ebd2527d8c30de9f61a
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Dec 2 15:28:49 2009 +0100
Fix memory leak
src/brasero-project-name.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-project-name.c b/src/brasero-project-name.c
index ad1958f..9b18f34 100644
--- a/src/brasero-project-name.c
+++ b/src/brasero-project-name.c
@@ -448,8 +448,11 @@ brasero_project_name_set_type (BraseroProjectName *self)
status = brasero_status_new ();
brasero_burn_session_get_status (priv->session, status);
- if (brasero_status_get_result (status) != BRASERO_BURN_OK)
+ if (brasero_status_get_result (status) != BRASERO_BURN_OK) {
+ g_object_unref (status);
return;
+ }
+ g_object_unref (status);
track_type = brasero_track_type_new ();
brasero_burn_session_get_input_type (priv->session, track_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]