From 66d6ba705735e8879eeeb2142095d715f5076e48 Mon Sep 17 00:00:00 2001 From: marcansoft Date: Fri, 26 Feb 2010 15:13:58 +0000 Subject: [PATCH] Get rid of flasher memory leak Too bad the proxmark usb code still has a bajillion :( --- client/flash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/flash.c b/client/flash.c index df81a90c..6670d637 100644 --- a/client/flash.c +++ b/client/flash.c @@ -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; -- 2.39.2