Fix: relayd: leak of config_path on duplicate --config option
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 18:30:02 +0000 (14:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 18:50:55 +0000 (14:50 -0400)
commit3a9e5d1671c6096fed41d7f6dc50cc28479ee55c
tree90d2066ce0a21f27aa2dd2e29a93f10c226443a5
parentf58ae8ad070e8cc282724a62bc6bccb482855c6e
Fix: relayd: leak of config_path on duplicate --config option

1452207 Resource leak

The system resource will not be reclaimed and reused, reducing the
future availability of the resource.

In lttng_notification_create_from_payload: Leak of memory or pointers to
system resources (CWE-404)

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ib4f6b388f4ff24eedcbff64570bd9fa10a445304
src/bin/lttng-relayd/main.c
This page took 0.024787 seconds and 4 git commands to generate.