Merge pull request #43 from lioncash/master

Another memory leak fixed in etctool
This commit is contained in:
Henrik Rydgård committed 2013-02-02 10:19:56 -08:00
commit 075a8ff206
1 file changed
+3 -2
+3 -2
View File
@@ -612,9 +612,10 @@ void compressImageFile(uint8 *img,int width,int height,char *dstfile, int expand
printf("\n");
fclose(f);
free(imgdec);
printf("Saved file <%s>.\n",dstfile);
printf("Saved file <%s>.\n",dstfile);
}
free(imgdec);
}
double calculatePSNR(uint8 *lossyimg, uint8 *origimg, int width, int height)