Closed memory leak introduced by rev 5063

This commit is contained in:
Thomas Schmitt 2013-05-20 12:45:48 +00:00
parent 8f500d90df
commit ecd303149f
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"