Nico Huber has uploaded this change for review.

View Change

Fix a tiny memory leak in the CLI tool

Change-Id: Iec696cb15dcf437f08e1e4f2a5a1faa0df6fd081
Signed-off-by: Richard Hughes <richard@hughsie.com>
---
M cli_classic.c
1 file changed, 1 insertion(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/08/30408/1
diff --git a/cli_classic.c b/cli_classic.c
index df9fa67..ced08c6 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -677,6 +677,7 @@

layout_cleanup();
free(filename);
+ free(fmapfile);
free(referencefile);
free(layoutfile);
free(pparam);

To view, visit change 30408. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Iec696cb15dcf437f08e1e4f2a5a1faa0df6fd081
Gerrit-Change-Number: 30408
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-MessageType: newchange