From eb3bab1c6d391131cdff48a458fbfec2f53d7c6c Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Sun, 4 Mar 2012 23:45:26 +0530 Subject: glusterfsd: Unref iobuf after using it Change-Id: Ieefc08d9af2125fabc2a86e5ff3a933aec539da0 BUG: 799882 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2866 Reviewed-by: Raghavendra G Tested-by: Gluster Build System --- glusterfsd/src/glusterfsd-mgmt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 5afa558dd70..6e00cd1fdab 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -1100,6 +1100,8 @@ out: if (iobref) iobref_unref (iobref); + if (iobuf) + iobuf_unref (iobuf); return ret; } -- cgit