X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/8fe1a992c771bd7aef1b9a7151fee0645ab59172..f397b5cc874ac7d658173199d92c30f3f717a300:/client/flash.c diff --git a/client/flash.c b/client/flash.c index 0756b2fa..6670d637 100644 --- a/client/flash.c +++ b/client/flash.c @@ -17,10 +17,7 @@ #include "elf.h" #include "proxendian.h" -//static uint32_t ExpectedAddr; -//static uint8_t QueuedToSend[256]; - -// TODO: what the fuckity fuck +// FIXME: what the fuckity fuck unsigned int current_command = CMD_UNKNOWN; #define FLASH_START 0x100000 @@ -253,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;