From ac52cee72eb52929f96f3239f910536710c20be5 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Wed, 8 May 2024 00:08:11 +0800 Subject: [PATCH] avfilter/dnn_backend_openvino: Fix free context at random place It will be freed again by ff_dnn_uninit. Signed-off-by: Zhao Zhili Reviewed-by: Wenbin Chen Reviewed-by: Guo Yejun --- libavfilter/dnn/dnn_backend_openvino.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index 5ea8fb8d1f..ba79eba73f 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++ b/libavfilter/dnn/dnn_backend_openvino.c @@ -959,7 +959,6 @@ err: if (input_model_info) ov_preprocess_input_model_info_free(input_model_info); #endif - dnn_free_model_ov(&ov_model->model); return ret; }