From: Jérémie Galarneau Date: Tue, 23 Jun 2020 03:35:02 +0000 (-0400) Subject: Fix: lttng: leak of userspace probe path on listing X-Git-Tag: v2.11.5~1 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=82598b9bc886c868d96f95601f7f3eec8ce24355;hp=82598b9bc886c868d96f95601f7f3eec8ce24355;p=lttng-tools.git Fix: lttng: leak of userspace probe path on listing realpath() returns a malloc'ed string when `resolved_path` is NULL. `binary_path` can be safely free'd after it is printed. Signed-off-by: Jérémie Galarneau Change-Id: Ic35862f3275f58274ae2572e1d6be736f8a2107e ---