Wenwen Wang f1472cb09f net: kalmia: fix memory leaks
In kalmia_init_and_get_ethernet_addr(), 'usb_buf' is allocated through
kmalloc(). In the following execution, if the 'status' returned by
kalmia_send_init_packet() is not 0, 'usb_buf' is not deallocated, leading
to memory leaks. To fix this issue, add the 'out' label to free 'usb_buf'.

Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-18 13:03:21 -07:00
..
2019-05-16 14:22:13 -07:00
2017-04-03 19:09:40 -07:00
2019-05-21 13:10:52 -07:00
2019-08-18 13:03:21 -07:00
2019-08-16 15:24:42 -07:00
2019-08-02 18:17:06 -07:00