Displaying 2 results from an estimated 2 matches for "b331b9b".
Did you mean:
433cb9b
2012 Aug 06
1
[PATCH] xfs: fix a possible memory leak
free out when failure.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/xfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/daemon/xfs.c b/daemon/xfs.c
index 73ba791..b331b9b 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;
}
--
1.7.12.rc1
2012 Aug 20
1
[PATCH] xfs: add new api xfs_admin
.../generator_actions.ml | 21 ++++++++++++
gobject/Makefile.inc | 6 ++--
guestfs-release-notes.txt | 1 +
po/POTFILES | 1 +
src/MAX_PROC_NR | 2 +-
6 files changed, 106 insertions(+), 3 deletions(-)
diff --git a/daemon/xfs.c b/daemon/xfs.c
index b331b9b..b32d256 100644
--- a/daemon/xfs.c
+++ b/daemon/xfs.c
@@ -460,3 +460,81 @@ error:
if (out) free (out);
return NULL;
}
+
+char *
+do_xfs_admin (const char *device,
+ int extunwritten, int imgfile, int v2log,
+ int printlabel, int projid32bit, int printuuid,
+...