From 9fab546206e0102daac01f835bc546117342f4c7 Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Mon, 6 Aug 2012 16:23:20 +0800 Subject: xfs: fix a possible memory leak free out when failure. Signed-off-by: Wanlong Gao --- daemon/xfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/xfs.c b/daemon/xfs.c index 73ba791e..b331b9ba 100644 --- a/daemon/xfs.c +++ b/daemon/xfs.c @@ -457,5 +457,6 @@ do_xfs_growfs (const char *path, error: if (buf) free (buf); if (err) free (err); + if (out) free (out); return NULL; } -- cgit