summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-03-04 23:45:26 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-05 07:51:27 -0800
commiteb3bab1c6d391131cdff48a458fbfec2f53d7c6c (patch)
tree6fc77cb4135a956e24c3ed36baa7bb09cefd3bbb /cli/src
parent7fec9b41d8e1befa8d58a76d98207debddd60b65 (diff)
glusterfsd: Unref iobuf after using it
Change-Id: Ieefc08d9af2125fabc2a86e5ff3a933aec539da0 BUG: 799882 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/2866 Reviewed-by: Raghavendra G <raghavendra@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli.c2
1 files changed, 2 insertions, 0 deletions
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;
}