cli: Fix memory leak in gluster profile
cli: Fix memory leak in gluster profile

Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>

BUG: 2571 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2571

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster