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

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

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: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 6791a1be
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