[FFmpeg-cvslog] avfilter/dnn_backend_openvino: Fix free context at random place

Zhao Zhili git at videolan.org
Thu May 30 16:14:12 EEST 2024


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Wed May  8 00:08:11 2024 +0800| [ac52cee72eb52929f96f3239f910536710c20be5] | committer: Guo Yejun

avfilter/dnn_backend_openvino: Fix free context at random place

It will be freed again by ff_dnn_uninit.

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
Reviewed-by: Wenbin Chen <wenbin.chen at intel.com>
Reviewed-by: Guo Yejun <yejun.guo at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac52cee72eb52929f96f3239f910536710c20be5
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list