mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The kobject_put() can free the memory at *cmd, but cmd->lock points to a persistent lock that is not freed with cmd. Signed-off-by: Max Asbock <[email protected]> Cc: Vernon Mauery <[email protected]> Cc: Srihari Vijayaraghavan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>