Closed memory leak introduced by rev 5063

This commit is contained in:
Thomas Schmitt 2013-05-20 12:45:48 +00:00
parent bd8731d272
commit 0b4fe1a8ea
2 changed files with 3 additions and 1 deletions

View File

@ -5028,6 +5028,8 @@ int Cdrskin_cdtext_to_file(struct CdrskiN *skin, char *path, int flag)
ex:; ex:;
if(result != NULL) if(result != NULL)
free(result); free(result);
if(text_packs != NULL)
free(text_packs);
if(fp != NULL && fp != stdout) if(fp != NULL && fp != stdout)
fclose(fp); fclose(fp);
return(1); return(1);

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2013.05.20.124448" #define Cdrskin_timestamP "2013.05.20.124520"