Skip to content
Commit 84a035f6 authored by Geyslan G. Bem's avatar Geyslan G. Bem Committed by David S. Miller
Browse files

net/hsr: Fix possible leak in 'hsr_get_node_status()'



If 'hsr_get_node_data()' returns error, going directly to 'fail' label
doesn't free the memory pointed by 'skb_out'.

Signed-off-by: default avatarGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8422d1f1
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