summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-30 01:36:24 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 10:39:20 (GMT)
commitfb0a00fb0843136baee7812b7319c2b4db2592aa (patch)
tree80da1576f168268258c86a18dc0258e60f05e06c /drivers/ide
parent5f6136debf7eefa8e585c2fa52b72403f324fe77 (diff)
downloadlinux-fb0a00fb0843136baee7812b7319c2b4db2592aa.tar.xz
dibusb: fix possible memory leak in dibusb_rc_query()
commit 1f5ecaf985c46889278f51fcb7bc143f60f4eb14 upstream. 'buf' is malloced in dibusb_rc_query() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: ff1c123545d7 ("[media] dibusb: handle error code on RC query") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions