mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -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)
|
||||
goto fail;
|
||||
|
||||
free(phdrs);
|
||||
fclose(fd);
|
||||
ctx->filename = name;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue