brasero r1842 - in trunk: . src



Author: philippr
Date: Thu Jan 29 14:35:39 2009
New Revision: 1842
URL: http://svn.gnome.org/viewvc/brasero?rev=1842&view=rev

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

	Fix fd leak when cue image size retrieval fails

	* src/burn-image-format.c (brasero_image_format_get_cue_size):


Modified:
   trunk/ChangeLog
   trunk/src/burn-image-format.c

Modified: trunk/src/burn-image-format.c
==============================================================================
--- trunk/src/burn-image-format.c	(original)
+++ trunk/src/burn-image-format.c	Thu Jan 29 14:35:39 2009
@@ -601,6 +601,7 @@
 					     _("The size could not be retrieved (%s)"),
 					     g_strerror (errsv));
 				g_free (file_path);
+				fclose (file);
 				return FALSE;
 			}
 



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