Don't leak outfile. Free it before we return from bincvt.

CID: 273685
This commit is contained in:
imp 2017-12-28 05:34:14 +00:00
parent 8b90914208
commit a2bf42b739

View File

@ -213,6 +213,7 @@ bincvt(char *sysfile, char *outfile, void *img, int fsize)
tname, sysfile, tname, tname, sysfile, outfile, outfile);
printf("%s", sysbuf);
system(sysbuf);
free(outfile);
return;
}