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

Commit a1aae583 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: ope: free unused memory in ope acquire" into camera-kernel.lnx.4.0

parents 14cf978c 5a24b2b9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2751,6 +2751,10 @@ static int cam_ope_mgr_acquire_hw(void *hw_priv, void *hw_acquire_args)
	ctx->ctxt_event_cb = args->event_cb;
	cam_ope_ctx_clk_info_init(ctx);
	ctx->ctx_state = OPE_CTX_STATE_ACQUIRED;
	kzfree(cdm_acquire);
	cdm_acquire = NULL;
	kzfree(bw_update);
	bw_update = NULL;

	mutex_unlock(&ctx->ctx_mutex);
	mutex_unlock(&hw_mgr->hw_mgr_mutex);