aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-07-22 12:37:16 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-07-28 12:22:32 +0100
commitb10b242e8840c5b267695483e2690525c109ada5 (patch)
tree1ce16910138d661c7889031605726b57cf43eab6
parent4f07501aca91a2044f9f7835132a8f5dc23fa647 (diff)
downloadefilinux-b10b242e8840c5b267695483e2690525c109ada5.tar.gz
efilinux: Free memory map
After we've printed the entries in the memory map we can free it. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
-rw-r--r--entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/entry.c b/entry.c
index 0bc6a0f..d027b4e 100644
--- a/entry.c
+++ b/entry.c
@@ -150,6 +150,7 @@ static EFI_STATUS print_memory_map(void)
i++;
}
+ free_pool(buf);
return err;
}