Anton Vasilyev 11b71782c1 uwb: hwa-rc: fix memory leak at probe
hwarc_probe() allocates memory for hwarc, but does not free it
if uwb_rc_add() or hwarc_get_version() fail.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-06 16:36:19 +02:00
..
2018-01-09 16:15:20 +01:00
2012-03-23 16:58:34 -07:00
2017-11-21 15:57:07 -08:00
2018-06-12 16:19:22 -07:00
2018-07-06 16:36:19 +02:00
2018-01-09 16:15:20 +01:00
2015-01-25 20:48:28 +08:00
2017-11-21 15:57:07 -08:00
2016-11-01 09:04:04 -06:00
2014-05-27 15:18:48 -07:00
2017-11-21 15:57:07 -08:00
2011-10-31 19:32:18 -04:00