![]() [ Upstream commit 7569406e95f2353070d88ebc88e8c13698542317 ]
The function thermal_genl_auto() does not free the allocated message
in the error path. Fix that by putting a out label and jump to it
which will free the message instead of directly returning an error.
Fixes:
|
||
---|---|---|
.. | ||
include | ||
.gitignore | ||
Build | ||
commands.c | ||
events.c | ||
libthermal.map | ||
libthermal.pc.template | ||
Makefile | ||
sampling.c | ||
thermal_nl.c | ||
thermal_nl.h | ||
thermal.c |