diff options
author | Vijay Bellur <vijay@gluster.com> | 2012-01-13 18:21:39 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2012-01-14 02:35:09 -0800 |
commit | 0e1679aee746040cdd509c5cd4004a4641c4c203 (patch) | |
tree | 5d6dcb68314dd09ea95ecc8bf42f07321b8f676e /cli/src/cli-cmd-volume.c | |
parent | faf9099bb50d4d2c1a9fe8d3232d541b3f68bc58 (diff) |
cli,glusterd: Display volume UUID in the output of 'volume info'
Cleaned up some leaks along the way.
Change-Id: Ibc76c539eee935c0630f9580d0d914814b1a6fe1
BUG: 781445
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Reviewed-on: http://review.gluster.com/2643
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 38c16797ea1..a572bdc3f48 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -105,6 +105,9 @@ out: cli_out ("Getting Volume information failed!"); } + if (frame) + FRAME_DESTROY (frame); + return ret; } |