From: Francis Deslauriers Date: Mon, 27 Aug 2018 19:41:51 +0000 (-0400) Subject: Fix: use-after-free on error of lttng_event creation and copy X-Git-Tag: v2.11.0-rc1~50 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=37750a613e7dd881041ce7388beece11e027775f;hp=37750a613e7dd881041ce7388beece11e027775f;p=lttng-tools.git Fix: use-after-free on error of lttng_event creation and copy Found by Coverity: >>> CID 1395219: Memory - illegal accesses (USE_AFTER_FREE) >>> Using freed pointer "new_event". Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau ---