net/hsr: Fix possible leak in 'hsr_get_node_status()'
authorGeyslan G. Bem <geyslan@gmail.com>
Thu, 14 Nov 2013 19:12:54 +0000 (16:12 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:26:21 +0000 (17:26 -0500)
commit84a035f6940fbabef0826f4fabdd59ec8e131b81
tree1d657bbd0cb8141fec94ca7b69d135a772588245
parent8422d1f1812121b85affc1c92aac4aca66865988
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: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_netlink.c