summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sti/c8sectpfe
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-29 23:36:24 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-21 11:40:45 -0200
commit1f5ecaf985c46889278f51fcb7bc143f60f4eb14 (patch)
tree7adb3f38a8204b46f7bcd24601609c369948ba65 /drivers/media/platform/sti/c8sectpfe
parent33e423c40ccf6eedbb5dc6e687524f9133368601 (diff)
[media] dibusb: fix possible memory leak in dibusb_rc_query()
'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>
Diffstat (limited to 'drivers/media/platform/sti/c8sectpfe')
0 files changed, 0 insertions, 0 deletions