From: Jérémie Galarneau Date: Fri, 5 Mar 2021 13:09:18 +0000 (-0500) Subject: Tests: fix: leak of probe location in uprobe notification test X-Git-Tag: v2.13.0-rc1~273 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a877d1b540f7a093be85c9866575b1e44bfd7cb8;p=lttng-tools.git Tests: fix: leak of probe location in uprobe notification test Signed-off-by: Jérémie Galarneau Change-Id: I98fbde07949a3f60d4268d45c5ae6f8f4e62e8d4 --- diff --git a/tests/regression/tools/notification/notification.c b/tests/regression/tools/notification/notification.c index aa4b72847..73415c51e 100644 --- a/tests/regression/tools/notification/notification.c +++ b/tests/regression/tools/notification/notification.c @@ -1489,6 +1489,7 @@ end: lttng_unregister_trigger(trigger); lttng_trigger_destroy(trigger); lttng_action_destroy(action); + lttng_userspace_probe_location_destroy(probe_location); lttng_event_rule_destroy(event_rule); lttng_condition_destroy(condition); return;