From 0b4fe1a8ea0a37f365296781e1dedeb72cc6a2d9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 20 May 2013 12:45:48 +0000 Subject: [PATCH] Closed memory leak introduced by rev 5063 --- libburn/trunk/cdrskin/cdrskin.c | 2 ++ libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index 5eaf9ca3..194a0bfa 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -5028,6 +5028,8 @@ int Cdrskin_cdtext_to_file(struct CdrskiN *skin, char *path, int flag) ex:; if(result != NULL) free(result); + if(text_packs != NULL) + free(text_packs); if(fp != NULL && fp != stdout) fclose(fp); return(1); diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 7d8dd630..88ec7919 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.05.20.124448" +#define Cdrskin_timestamP "2013.05.20.124520"