Skip to content
Commit 00aff359 authored by Hangyu Hua's avatar Hangyu Hua Committed by David S. Miller
Browse files

net: tipc: fix possible refcount leak in tipc_sk_create()



Free sk in case tipc_sk_insert() fails.

Signed-off-by: default avatarHangyu Hua <hbh25y@gmail.com>
Reviewed-by: default avatarTung Nguyen <tung.q.nguyen@dektech.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5a478a65
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