]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flash.c
target and bitstream back to front!
[proxmark3-svn] / client / flash.c
index 0756b2fa59387c5071bf1c82851ef31c7d608f61..6670d637dca187bff1c7944961dbe20101198620 100644 (file)
 #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;
Impressum, Datenschutz