diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2018-12-05 12:33:48 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-12-05 21:37:31 +0000 |
commit | 7f7716f8194e06754d0417f27bcc40638c9f9f83 (patch) | |
tree | cad2da6fa8a5dbc2b492068640f8c6e050af6d09 /xlators/mgmt/glusterd/src/glusterd-sm.c | |
parent | d4723bdd30f0955ca68fec8c01bc87229c6a24c0 (diff) |
cli: fix memory leak in cli/src/cli-rpc-ops.c
This Patch fixes memory leak reported by ASan.
Leaks are in gf_cli_status_cbk as a result of allocatating memory
using gf_asprintf in loop.
SUMMARY: AddressSanitizer: 535 byte(s) leaked in 7 allocation(s).
Change-Id: If2fd76c7c1ea6fc44baca295050800074f9d1323
updates: bz#1633930
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.c')
0 files changed, 0 insertions, 0 deletions