From: Francis Deslauriers Date: Wed, 29 Aug 2018 12:37:48 +0000 (-0400) Subject: Fix: invalid destruction of lookup_method X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=6bd61b9632ee566bcc7c274c07a9546c6852ab59;hp=6bd61b9632ee566bcc7c274c07a9546c6852ab59 Fix: invalid destruction of lookup_method When passing the lookup_method to the location create function we give it the ownership of that structure. By setting our pointer to NULL, we make sure the _destroy function won't free it. Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau ---