[brasero] Fix the wrong fix for memleak
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix the wrong fix for memleak
- Date: Wed, 26 Aug 2009 14:39:27 +0000 (UTC)
commit ac73cf9965b6e1949148747c3d88551ff1a6be36
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Aug 26 15:20:52 2009 +0200
Fix the wrong fix for memleak
libbrasero-burn/brasero-src-image.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libbrasero-burn/brasero-src-image.c b/libbrasero-burn/brasero-src-image.c
index b367a4e..12fc8e9 100644
--- a/libbrasero-burn/brasero-src-image.c
+++ b/libbrasero-burn/brasero-src-image.c
@@ -230,18 +230,16 @@ brasero_src_image_update (BraseroSrcImage *self)
status = brasero_status_new ();
result = brasero_track_get_status (BRASERO_TRACK (priv->track), status);
if (result == BRASERO_BURN_NOT_READY) {
- g_free (path);
-
/* Translators: %s is a path */
string = g_strdup_printf (_("\"%s\": loading"), path);
gtk_widget_set_tooltip_text (GTK_WIDGET (self), NULL);
+ g_free (path);
goto end;
}
else if (result != BRASERO_BURN_OK) {
- g_free (path);
-
/* Translators: %s is a path and image refers to a disc image */
string = g_strdup_printf (_("\"%s\": unknown disc image type"), path);
+ g_free (path);
error = brasero_status_get_error (status);
if (!error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]