summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-12-19 15:40:27 +0000
committerNico Huber <nico.h@gmx.de>2019-01-05 16:25:49 +0000
commit6eca76123ca765e4afcfac43bfe2f27a5f977a97 (patch)
treeed67581d106d0267c236ee643957684cd4eb919b
parent3578ec6a3d7187438c4093f4bb7ac2bb6d4184cb (diff)
downloadflashrom-6eca76123ca765e4afcfac43bfe2f27a5f977a97.tar.gz
flashrom-6eca76123ca765e4afcfac43bfe2f27a5f977a97.tar.bz2
flashrom-6eca76123ca765e4afcfac43bfe2f27a5f977a97.zip
Fix a tiny memory leak in the CLI tool
Change-Id: Iec696cb15dcf437f08e1e4f2a5a1faa0df6fd081 Signed-off-by: Richard Hughes <richard@hughsie.com> Reviewed-on: https://review.coreboot.org/c/30408 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--cli_classic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli_classic.c b/cli_classic.c
index df9fa6719..ced08c6c3 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -677,6 +677,7 @@ out:
layout_cleanup();
free(filename);
+ free(fmapfile);
free(referencefile);
free(layoutfile);
free(pparam);