summaryrefslogtreecommitdiffstats
path: root/glusterfsd
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 /glusterfsd
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 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c2
1 files changed, 2 insertions, 0 deletions
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;
}