brasero r1381 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1381 - in trunk: . src
- Date: Wed, 15 Oct 2008 14:36:13 +0000 (UTC)
Author: philippr
Date: Wed Oct 15 14:36:12 2008
New Revision: 1381
URL: http://svn.gnome.org/viewvc/brasero?rev=1381&view=rev
Log:
Small memory leak fixed.
* src/brasero-dest-selection.c
(brasero_dest_selection_format_medium_string):
Modified:
trunk/ChangeLog
trunk/src/brasero-dest-selection.c
Modified: trunk/src/brasero-dest-selection.c
==============================================================================
--- trunk/src/brasero-dest-selection.c (original)
+++ trunk/src/brasero-dest-selection.c Wed Oct 15 14:36:12 2008
@@ -413,7 +413,6 @@
/* get the set path for the image file */
path = brasero_dest_selection_get_output_path (BRASERO_DEST_SELECTION (selection));
-
if (!path)
return medium_name;
@@ -427,8 +426,10 @@
return label;
}
- if (!priv->session)
+ if (!priv->session) {
+ g_free (medium_name);
return NULL;
+ }
brasero_burn_session_get_input_type (priv->session, &input);
if (input.type == BRASERO_TRACK_TYPE_DISC) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]