mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-20 20:12:48 +00:00
In the error path of stm_source_register_device(), the kfree is
unnecessary, as the put_device() before it ends up calling
stm_source_device_release() to free stm_source_device, leading to
a double free at the outer kfree() call. Remove it.
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| console.c | ||
| core.c | ||
| dummy_stm.c | ||
| ftrace.c | ||
| heartbeat.c | ||
| Kconfig | ||
| Makefile | ||
| p_basic.c | ||
| p_sys-t.c | ||
| policy.c | ||
| stm.h | ||