Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1d6991ca authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Convert all mallocs in *_res_parse.c to managed mallocs



The functions in *_res_parse.c are called exclusively within the context
of the device probe.  As a result the alloced memory is held over the
lifetime of the driver. As this memory is never realistically freed,
kmemleak falsely flags these as memory leaks.  This commit turns these
allocations into devm_kmallocs as a hint to kmemleak that these aren't
really memory leaks.

Change-Id: Iaf6b5790fb6bd7ed0629b321064de55fd17d46a3
CRs-Fixed: 600345
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent f75c756e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment