|
@@ -2734,6 +2734,10 @@ static int cam_ope_mgr_acquire_hw(void *hw_priv, void *hw_acquire_args)
|
|
ctx->ctxt_event_cb = args->event_cb;
|
|
ctx->ctxt_event_cb = args->event_cb;
|
|
cam_ope_ctx_clk_info_init(ctx);
|
|
cam_ope_ctx_clk_info_init(ctx);
|
|
ctx->ctx_state = OPE_CTX_STATE_ACQUIRED;
|
|
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(&ctx->ctx_mutex);
|
|
mutex_unlock(&hw_mgr->hw_mgr_mutex);
|
|
mutex_unlock(&hw_mgr->hw_mgr_mutex);
|