[brasero] Fix #592025 - brasero crashes on detecting src images on a NFS path when preparing burning an image



commit ca67d0f2fbc831a85c6f0ec8d44569b2a03a7374
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Aug 26 20:44:28 2009 +0200

    Fix #592025 -  brasero crashes on detecting src images on a NFS path when preparing burning an image
    Patch by Lin Ma <lin ma sun com>

 libbrasero-burn/brasero-src-image.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-src-image.c b/libbrasero-burn/brasero-src-image.c
index 12fc8e9..54824cd 100644
--- a/libbrasero-burn/brasero-src-image.c
+++ b/libbrasero-burn/brasero-src-image.c
@@ -535,6 +535,7 @@ update_gconf:
 				 NULL);
 	g_object_unref (client);
 
+	g_object_unref (data);
 }
 
 static void
@@ -570,7 +571,7 @@ brasero_src_image_init (BraseroSrcImage *object)
 					 0,
 					 priv->cancel,
 					 brasero_src_image_set_parent_directory,
-					 object);
+					 g_object_ref (object));
 		g_object_unref (file);
 	}
 	g_free (uri);



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