mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
We should not release reference by put_device() before calling device_initialize().
Fixes: e7d1d4d9ac ("mISDN: fix possible memory leak in mISDN_register_device()")
Signed-off-by: Wang ShaoBo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>