diff options
author | 2020-09-29 16:26:52 +0800 | |
---|---|---|
committer | 2020-10-12 12:08:36 +0200 | |
commit | 48b458591749d35c927351b4960b49e35af30fe6 (patch) | |
tree | f161de74cde7a0c2fd496f56058bec58aad1226e /drivers/usb/cdns3/cdns3-debug.h | |
parent | thermal: ti-soc-thermal: Enable addition power management (diff) | |
download | wireguard-linux-48b458591749d35c927351b4960b49e35af30fe6.tar.xz wireguard-linux-48b458591749d35c927351b4960b49e35af30fe6.zip |
thermal: core: Adding missing nlmsg_free() in thermal_genl_sampling_temp()
thermal_genl_sampling_temp() misses to call nlmsg_free() in an error path.
Jump to out_free to fix it.
Fixes: 1ce50e7d408ef2 ("thermal: core: genetlink support for events/cmd/sampling")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200929082652.59876-1-jingxiangfeng@huawei.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions