Fix: memory leak in userspace probe param parsing
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 27 Aug 2018 20:28:26 +0000 (16:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 20:36:06 +0000 (16:36 -0400)
commit1f0a845dc223e765b4f42fd5064ff1da6a0c203e
treea7f3968a4e9d3f040ae6d8e469b2af782b0997d8
parent033b58a77339dfc04b365da42979da680f254e76
Fix: memory leak in userspace probe param parsing

Found by Coverity:
CID 1395217:    (RESOURCE_LEAK)
Variable "real_target_path" going out of scope leaks the storage it
points to.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/enable_events.c
This page took 0.025358 seconds and 4 git commands to generate.