diff options
author | Anton Vasilyev <[email protected]> | 2017-08-10 11:27:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2017-08-27 06:57:13 -0400 |
commit | be90cc8e4ac08bcb4ca517cd4ae25aa8441e2d88 (patch) | |
tree | 0f5302124bf3ebda0ff62cb96e1db1468ecb8e13 /lib/sg_split.c | |
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 <[email protected]>
Reviewed-by: Enrico Mioso <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/sg_split.c')
0 files changed, 0 insertions, 0 deletions