Wei Yongjun c76f2481b6 tipc: fix error handling in tipc_udp_enable()
Release alloced resource before return from the error handling
case in tipc_udp_enable(), otherwise will cause memory leak.

Fixes: 52dfae5c85a4 ("tipc: obtain node identity from interface by default")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-27 10:50:02 -04:00
..
2018-03-23 13:12:18 -04:00
2016-07-26 14:26:42 -07:00
2018-03-17 17:11:46 -04:00
2018-03-23 13:12:18 -04:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00