961b6ffe0e
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
console.c | ||
core.c | ||
dummy_stm.c | ||
ftrace.c | ||
heartbeat.c | ||
p_basic.c | ||
p_sys-t.c | ||
policy.c | ||
stm.h |