summaryrefslogtreecommitdiff
path: root/fs/afs/netdevices.c
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2015-10-24 00:26:18 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-19 14:16:10 +0300
commitb771852270499d760825ebad894498b8059355a4 (patch)
tree664441a7292d29d791d905293f70709cc3b435a6 /fs/afs/netdevices.c
parent2ff56fadd94cdaeeaeccbc0a9b703a0101ada128 (diff)
downloadlinux-b771852270499d760825ebad894498b8059355a4.tar.xz
[media] as102: fix potential double free in as102_fw_upload()
In case the request to locate the firmware file part 2 fails, the error path releases the already freed firmware memory location again. Thus reset the firmware pointer to NULL after releasing firmware file part 1. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'fs/afs/netdevices.c')
0 files changed, 0 insertions, 0 deletions