Commit c6e7d021 authored by Holmes Chou's avatar Holmes Chou
Browse files

LWIS: free the allocated memory in ioctl_dpm_clk_update()



From the function name lwis_dpm_update_clock, we do not know clearly
for the allocated memory clk_settings will be freed. Free the allocated
memory in ioctl_dpm_clk_update() for better management.

Bug: 206569079
Test: AOSP camera
Signed-off-by: default avatarHolmes Chou <holmeschou@google.com>
Change-Id: Ied76a3d33161716053eb49bfd71880910eb6a21a
parent 69ffce1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment