Fix: ustctl: leak of event notifier data on communication error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 17 Mar 2021 16:16:18 +0000 (12:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Mar 2021 16:27:43 +0000 (12:27 -0400)
commit4c4f4917501326b2ede0486a18478e4a6941c287
treef94061f870e6650022afd98b7de4ef2a5e82bb29
parenta084756d092167324ee09d3f819cc45407b58233
Fix: ustctl: leak of event notifier data on communication error

The `len != sizeof(*event_notifier)` error path does not free
the `event_notifier_data` even though it is not provided to the caller.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ie3b4ebf77e8ca7205d802c6db67c23c347aa29df
liblttng-ust-ctl/ustctl.c
This page took 0.027493 seconds and 4 git commands to generate.