Skip to content
Commit 440a1136 authored by Chuansheng Liu's avatar Chuansheng Liu Committed by Tejun Heo
Browse files

workqueue: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()



In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().

Signed-off-by: default avatarLiu, Chuansheng <chuansheng.liu@intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 6ce4eac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment