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
@ -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…
x
Reference in New Issue
Block a user