Skip to content
Commit 4862125b authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: fix memory leak in apply_workqueue_attrs()



apply_workqueue_attrs() wasn't freeing temp attrs variable @new_attrs
in its success path.  Fix it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
parent 13e2e556
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment