Bug fix: Double free with cdrskin -vvv. Introduced with rev 5065, version 1.3.1

This commit is contained in:
Thomas Schmitt 2014-11-23 19:11:18 +00:00
parent 0eb7e13c19
commit e5b25b64e2
2 changed files with 1 additions and 2 deletions

View File

@ -5054,7 +5054,6 @@ int Cdrskin_cdtext_to_file(struct CdrskiN *skin, char *path, int flag)
if(skin->verbosity >= Cdrskin_verbose_debuG) if(skin->verbosity >= Cdrskin_verbose_debuG)
Cdrskin_print_text_packs(skin, text_packs, num_packs, 0); Cdrskin_print_text_packs(skin, text_packs, num_packs, 0);
ret= Cdrskin_store_text_packs(skin, text_packs, num_packs, path, flag & 16); ret= Cdrskin_store_text_packs(skin, text_packs, num_packs, path, flag & 16);
free(text_packs);
if(ret <= 0) if(ret <= 0)
goto ex; goto ex;
printf("CD-Text len: %d\n", num_packs * 18 + 4); printf("CD-Text len: %d\n", num_packs * 18 + 4);

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2014.09.01.183908" #define Cdrskin_timestamP "2014.11.23.190942"