1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: tracing error path

This commit is contained in:
Zdenek Kabelac 2017-06-26 23:21:22 +02:00
parent c440bb0742
commit c3e0ef1a5e

View File

@ -335,7 +335,8 @@ int lvm_shell(struct cmd_context *cmd, struct cmdline_context *cmdline)
free(input);
if (cmd->cmd_report.report_group) {
dm_report_group_destroy(cmd->cmd_report.report_group);
if (!dm_report_group_destroy(cmd->cmd_report.report_group))
stack;
cmd->cmd_report.report_group = NULL;
}