cli: memory leak issue reported by asan
This patch fixes Indirect leaks in tests/bugs/heal-symlinks.t. Leaks are happening in cli_cmd_volume_heal_cbk. SUMMARY: AddressSanitizer: 640 byte(s) leaked in 4 allocation(s). Updates: bz#1633930 Change-Id: I970b4229630fdaf01aec66581c1287beef7560a3 Signed-off-by: Harpreet Lalwani <hlalwani@redhat.com>
This commit is contained in:
parent
0b54c92a22
commit
7c0cb6eebd
@ -2956,6 +2956,9 @@ out:
|
||||
}
|
||||
}
|
||||
|
||||
if (options)
|
||||
dict_unref(options);
|
||||
|
||||
CLI_STACK_DESTROY(frame);
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user