mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-29 19:18:35 -07:00
Get rid of flasher memory leak
Too bad the proxmark usb code still has a bajillion :(
This commit is contained in:
parent
0ae6234a5b
commit
66d6ba7057
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ int flash_load(flash_file_t *ctx, const char *name, int can_write_bl)
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
free(phdrs);
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
ctx->filename = name;
|
ctx->filename = name;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue