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-Tag: v2.13.5~33 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=a3791720999c2fcd380f7679fd8dc3e88f84a605;hp=a3791720999c2fcd380f7679fd8dc3e88f84a605;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 ---