summaryrefslogtreecommitdiff
path: root/nor-utils/rfddump.c
diff options
context:
space:
mode:
Diffstat (limited to 'nor-utils/rfddump.c')
-rw-r--r--nor-utils/rfddump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nor-utils/rfddump.c b/nor-utils/rfddump.c
index 01ab4c2..78ec443 100644
--- a/nor-utils/rfddump.c
+++ b/nor-utils/rfddump.c
@@ -256,7 +256,7 @@ int main(int argc, char *argv[])
if (!rfd.sector_map) {
perror(PROGRAM_NAME);
close(fd);
- free(rfd.sector_map);
+ free(rfd.header);
return 2;
}