Clean-up: lttng: add-trigger: silence coverity warning
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 19:31:38 +0000 (15:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 21:07:07 +0000 (17:07 -0400)
commit55c6294d70e804e5ee7371f389d7cb786979b706
tree63ae3d702d38ab98c506c1c5827d7a39f7770d31
parent9de6375f04f962e9eae34ad90f4c66e8bf15c2a8
Clean-up: lttng: add-trigger: silence coverity warning

CID 1452634 (#1 of 1): Resource leak (RESOURCE_LEAK)
23. leaked_storage: Variable error going out of scope leaks the storage
it points to.

The code path shown by Coverity does not appear reachable, but this
fixes the warning nonetheless.

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9682616b123de108c5717cee2c17349212f224d5
src/bin/lttng/commands/add_trigger.c
This page took 0.026627 seconds and 4 git commands to generate.