From ad688b85eb49c152bfa2b2ade6b2d383045d257c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 23 Nov 2014 19:11:18 +0000 Subject: [PATCH] Bug fix: Double free with cdrskin -vvv. Introduced with rev 5065, version 1.3.1 --- cdrskin/cdrskin.c | 1 - cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index ed3fe60..cd28143 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -5054,7 +5054,6 @@ int Cdrskin_cdtext_to_file(struct CdrskiN *skin, char *path, int flag) if(skin->verbosity >= Cdrskin_verbose_debuG) Cdrskin_print_text_packs(skin, text_packs, num_packs, 0); ret= Cdrskin_store_text_packs(skin, text_packs, num_packs, path, flag & 16); - free(text_packs); if(ret <= 0) goto ex; printf("CD-Text len: %d\n", num_packs * 18 + 4); diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 006850d..b762037 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2014.09.01.183908" +#define Cdrskin_timestamP "2014.11.23.190942"