Tests: fix: leak of probe location in uprobe notification test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Mar 2021 13:09:18 +0000 (08:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Mar 2021 13:09:18 +0000 (08:09 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I98fbde07949a3f60d4268d45c5ae6f8f4e62e8d4

tests/regression/tools/notification/notification.c

index aa4b728473da1b4c607f683557f91cd5521503b0..73415c51ecc51d3fc58675fd1fd2d764f96d5998 100644 (file)
@@ -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;
This page took 0.031733 seconds and 4 git commands to generate.