msm: vidc: Free the un-managed memory allocated in probe
Most mallocs in the video driver probe are managed allocs. However,
the regulator table and the regulator name are allocated via krealloc
and kstrdup respectively, which aren't managed. As such, free them
explicitly.
CRs-Fixed: 642390
Change-Id: Iba9f0bc6ba8c37660c5e7f103f2900a98ae54ecf
Signed-off-by:
Deva Ramasubramanian <dramasub@codeaurora.org>
Loading
Please register or sign in to comment