From 340e54b90e6198248be2666da2c2359c454e3105 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 May 2011 11:51:26 +0000 Subject: [PATCH] Closed a memory leak found by valgrind --- libisoburn/trunk/libisoburn/burn_wrap.c | 2 ++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/libisoburn/burn_wrap.c b/libisoburn/trunk/libisoburn/burn_wrap.c index 27357eb1..ba445d68 100644 --- a/libisoburn/trunk/libisoburn/burn_wrap.c +++ b/libisoburn/trunk/libisoburn/burn_wrap.c @@ -1981,6 +1981,8 @@ int isoburn_get_mount_params(struct burn_drive *d, ex:; o->fabricated_msc1= msc1_mem; + if(disc != NULL) + isoburn_toc_disc_free(disc); return(2 - is_iso); } diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index d8bba158..76b3aace 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.03.115103" +#define Xorriso_timestamP "2011.05.03.115146"