Skip to content
Commit 0587da40 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

kmemleak: Release the object lock before calling put_object()



The put_object() function may free the object if the use_count
dropped to 0. There shouldn't be further accesses to such object unless
it is known that the use_count is non-zero.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a6f5aa1e
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