[PATCH 2/4] xfs_repair: free msgbuf on exit

Eric Sandeen
2015-08-20T18:09:23Z

Just to keep valgrind less noisy, and make it easiser to spot
more things that actually matter ...

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
repair/xfs_repair.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/repair/xfs_repair.c b/repair/xfs_repair.c
index db703d0..85a012b 100644
--- a/repair/xfs_repair.c
+++ b/repair/xfs_repair.c
@@ -946,5 +946,7 @@ _("Repair of readonly mount complete. Immediate reboot encouraged.\n"));

pftrace_done();

+ free(msgbuf);
+
return (0);