mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't leak outfile. Free it before we return from bincvt.
CID: 273685
This commit is contained in:
parent
0bebba31d3
commit
80c3f90ed4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue