brasero r1867 - in trunk: . src/plugins/cdrtools
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1867 - in trunk: . src/plugins/cdrtools
- Date: Wed, 4 Feb 2009 14:57:23 +0000 (UTC)
Author: philippr
Date: Wed Feb 4 14:57:23 2009
New Revision: 1867
URL: http://svn.gnome.org/viewvc/brasero?rev=1867&view=rev
Log:
2009-02-04 Philippe Rouquier <ykw localhost localdomain>
* src/plugins/cdrtools/burn-cdrecord.c
(brasero_cdrecord_write_inf), (brasero_cdrecord_write_infs): Don't leak album and string
Modified:
trunk/ChangeLog
trunk/src/plugins/cdrtools/burn-cdrecord.c
Modified: trunk/src/plugins/cdrtools/burn-cdrecord.c
==============================================================================
--- trunk/src/plugins/cdrtools/burn-cdrecord.c (original)
+++ trunk/src/plugins/cdrtools/burn-cdrecord.c Wed Feb 4 14:57:23 2009
@@ -610,6 +610,7 @@
size = strlen (string);
b_written = write (fd, string, size);
+ g_free (string);
if (b_written != size)
goto error;
@@ -683,6 +684,7 @@
start += BRASERO_DURATION_TO_SECTORS (length);
}
+ g_free (album);
g_free (tmpdir);
return BRASERO_BURN_OK;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]