[brasero] Fix for a possible crash with an unitialized variable



commit 2fd0f5a60e2d754224d8b674f6dc59c3d0b81bea
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Jul 1 10:23:52 2009 +0200

    Fix for a possible crash with an unitialized variable

 libbrasero-burn/burn-mkisofs-base.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/burn-mkisofs-base.c b/libbrasero-burn/burn-mkisofs-base.c
index adc18e4..88e1320 100644
--- a/libbrasero-burn/burn-mkisofs-base.c
+++ b/libbrasero-burn/burn-mkisofs-base.c
@@ -132,13 +132,12 @@ brasero_mkisofs_base_write_excluded (BraseroMkisofsBase *base,
 	gint forbidden;
 	gchar *character;
 	gchar *localpath;
-	gchar *unescaped_uri;
 	BraseroBurnResult result = BRASERO_BURN_OK;
 
 	/* make sure uri is local: otherwise error out */
 	/* FIXME: uri can be path or URI? problem with graft->uri */
 	if (uri && uri [0] == '/') {
-		localpath = g_strdup (unescaped_uri);
+		localpath = g_strdup (uri);
 	}
 	else if (uri && g_str_has_prefix (uri, "file://")) {
 		gchar *unescaped_uri;



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