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:
Deva Ramasubramanian <dramasub@codeaurora.org>
Loading
Please register or sign in to comment