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 --- cli/src/cli.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli') diff --git a/cli/src/cli.c b/cli/src/cli.c index 46a445cf7c5..f20ea1f1746 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -272,6 +272,8 @@ cli_submit_request (void *req, call_frame_t *frame, out: if (new_iobref) iobref_unref (iobref); + if (iobuf) + iobuf_unref (iobuf); return ret; } -- cgit