master - debug: tracing error path
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c3e0ef1a5eef973bb79c3f94653077cc87b250c0 Commit: c3e0ef1a5eef973bb79c3f94653077cc87b250c0 Parent: c440bb0742fa70ca37ead55b7edd18e2f7a19eda Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Jun 26 23:21:22 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jun 27 00:27:36 2017 +0200
debug: tracing error path
--- tools/lvm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
tools/lvm.c +2 -1
@@ -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 ; }