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:
Holmes Chou <holmeschou@google.com>
Change-Id: Ied76a3d33161716053eb49bfd71880910eb6a21a
Loading
Please sign in to comment