Fix: unchecked return value of cds_lfht_destroy()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 23:04:49 +0000 (18:04 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 23:04:49 +0000 (18:04 -0500)
commitb7e1aba3b4ca20d7efd006f2c0485eb3408ea80e
treed41d9fffdf4e14736e4501c19ec935fd5e678114
parent881881996ba715d8598ba78ad16ba07ce9e289f3
Fix: unchecked return value of cds_lfht_destroy()

1412202 Unchecked return value

If the function returns an error value, the error value may be
mistaken for a normal value.

In lttng_tracker_list_destroy: Value returned from a function is not
checked for errors before being used (CWE-252)

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