mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Don't leak outfile. Free it before we return from bincvt.
CID: 273685
This commit is contained in:
parent
0bebba31d3
commit
80c3f90ed4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327274
|
@ -213,6 +213,7 @@ bincvt(char *sysfile, char *outfile, void *img, int fsize)
|
||||||
tname, sysfile, tname, tname, sysfile, outfile, outfile);
|
tname, sysfile, tname, tname, sysfile, outfile, outfile);
|
||||||
printf("%s", sysbuf);
|
printf("%s", sysbuf);
|
||||||
system(sysbuf);
|
system(sysbuf);
|
||||||
|
free(outfile);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue