]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flash.c
Get rid of flasher memory leak
[proxmark3-svn] / client / flash.c
index df81a90ce45dfbf4f4c5352a1598918180ebad89..6670d637dca187bff1c7944961dbe20101198620 100644 (file)
@@ -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;
Impressum, Datenschutz