diff options
| author | Pranith Kumar K <pranithk@gluster.com> | 2012-03-04 23:45:26 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vijay@gluster.com> | 2012-03-05 07:51:27 -0800 | 
| commit | eb3bab1c6d391131cdff48a458fbfec2f53d7c6c (patch) | |
| tree | 6fc77cb4135a956e24c3ed36baa7bb09cefd3bbb /glusterfsd | |
| parent | 7fec9b41d8e1befa8d58a76d98207debddd60b65 (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.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 5afa558d..6e00cd1f 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;  }  | 
