brasero r1852 - in trunk: . src



Author: philippr
Date: Sun Feb  1 09:29:23 2009
New Revision: 1852
URL: http://svn.gnome.org/viewvc/brasero?rev=1852&view=rev

Log:
2009-02-01  Philippe Rouquier  <ykw localhost localdomain>

	Fix crash with audio split dialog
	+ small memleak

	* src/brasero-split-dialog.c
	(brasero_split_dialog_metadata_finished_cb),
	(brasero_split_dialog_init):
	* src/burn-session.c (brasero_burn_session_get_tmp_file): Add some more debug


Modified:
   trunk/ChangeLog
   trunk/src/brasero-split-dialog.c
   trunk/src/burn-session.c

Modified: trunk/src/brasero-split-dialog.c
==============================================================================
--- trunk/src/brasero-split-dialog.c	(original)
+++ trunk/src/brasero-split-dialog.c	Sun Feb  1 09:29:23 2009
@@ -601,8 +601,8 @@
 					   GError *error,
 					   BraseroSplitDialog *self)
 {
+	BraseroMetadataInfo info = { NULL, };
 	BraseroSplitDialogPrivate *priv;
-	BraseroMetadataInfo info;
 	gboolean added_silence;
 	GSList *iter;
 
@@ -634,6 +634,9 @@
 
 		silence = iter->data;
 
+		if (!silence)
+			continue;
+
 		if (silence->start >= priv->end)
 			continue;
 
@@ -1292,6 +1295,7 @@
 	g_free (title);
 
 	gtk_combo_box_set_active (GTK_COMBO_BOX (priv->combo), 0);
+	g_object_unref (size_group);
 }
 
 static void

Modified: trunk/src/burn-session.c
==============================================================================
--- trunk/src/burn-session.c	(original)
+++ trunk/src/burn-session.c	Sun Feb  1 09:29:23 2009
@@ -776,8 +776,9 @@
 	if (fd == -1) {
                 int errsv = errno;
 
+		BRASERO_BURN_LOG ("Impossible to create tmp file %s", tmp);
+
 		g_free (tmp);
-		BRASERO_BURN_LOG ("Impossible to create tmp file");
 		if (errsv != EACCES)
 			g_set_error (error, 
 				     BRASERO_BURN_ERROR,



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