summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorAbdulla Anam <abdullahanam@codeaurora.org>2017-06-28 16:10:42 +0530
committerAbdulla Anam <abdullahanam@codeaurora.org>2017-06-28 16:10:42 +0530
commit810a4bad4221486691ece943a6576268e7846b23 (patch)
treeefc7b8139e24a3e32aecad94e3fe657ccfef4c37 /kernel/locking/mutex-debug.c
parentf2485229cd9ad26e8d8e0b3dd72bbc0dc08b6d9c (diff)
msm: vidc: Free pixel plane handle when map extradata fails
Map extradata or buf_ref_get can fail resulting in memleak. Free pixel plane handle in those cases. Also if map fails in map_and_update binfo, derefernce on the null handle still happens. Hence return immediate if map fails. Change-Id: Ib02adbccc62208cb6342ad8825e8663c385f7b14 Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions