commit | be90cc8e4ac08bcb4ca517cd4ae25aa8441e2d88 | [log] [tgz] |
---|---|---|
author | Anton Vasilyev <vasilyev@ispras.ru> | Thu Aug 10 11:27:44 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sun Aug 27 06:57:13 2017 -0400 |
tree | 0f5302124bf3ebda0ff62cb96e1db1468ecb8e13 | |
parent | e5d9ce4ddea934d1243747bfc142749ba6ff0c5a [diff] |
media: dvb-usb: Add memory free on error path in dw2102_probe() If dw2102_probe() fails on dvb_usb_device_init(), then memleak occurs. The patch adds deallocation to the error path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Reviewed-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>