Fix: liblttng-ctl: leak of tracker handle in lttng_[un]track_pid
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 20 May 2020 19:56:03 +0000 (15:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 May 2020 21:04:34 +0000 (17:04 -0400)
commitd9d9f75f953a260d2abd03d1f6abc878ef83426e
treedd6d42c1d0b0aa3c9496503ac79d1ca4a20eb88a
parentc5c764db0495d6ac9f4a2b2977c803758165313d
Fix: liblttng-ctl: leak of tracker handle in lttng_[un]track_pid

The lttng_track_pid and lttng_untrack_pid functions were reimplemented
on top of the new lttng_process_attr_tracker_handle API (new in 2.12).

Both functions do not destroy the tracker handle on their return
path.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ieeeace2011ba6ee1e5024306ea735f0389c3980d
src/lib/lttng-ctl/tracker.c
This page took 0.025609 seconds and 4 git commands to generate.