From: Jonathan Rajotte Date: Tue, 1 Mar 2022 15:18:46 +0000 (-0500) Subject: Fix: sessiond: event, filter expression, bytecode, exclusions might leak X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=9610c0c53b4b02b150efba19c2d55ab1a9828888;hp=9610c0c53b4b02b150efba19c2d55ab1a9828888;p=lttng-tools.git Fix: sessiond: event, filter expression, bytecode, exclusions might leak Reported by Coverity: CID 1475803: Resource leak (RESOURCE_LEAK) Variable filter_expression going out of scope leaks the storage it points to. CID 1475816: Resource leak (RESOURCE_LEAK) Variable exclusions going out of scope leaks the storage it points to. CID 1475817: Resource leak (RESOURCE_LEAK) Variable bytecode going out of scope leaks the storage it points to. CID 1475820: Resource leak (RESOURCE_LEAK) Variable event going out of scope leaks the storage it points to. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I705e3cc1a1894af52d6ddeee94798a887dc82bba ---