[FFmpeg-devel] [PATCH v3 05/10] avfilter/dnn_backend_tf: Fix free context at random place
Zhao Zhili
quinkblack at foxmail.com
Tue Apr 30 10:12:03 EEST 2024
From: Zhao Zhili <zhilizhao at tencent.com>
It will be freed again by ff_dnn_uninit.
---
libavfilter/dnn/dnn_backend_tf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 60f9e57fb7..3b4de6d13f 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -804,7 +804,7 @@ err:
if (ff_safe_queue_push_back(tf_model->request_queue, request) < 0) {
destroy_request_item(&request);
}
- dnn_free_model_tf(&tf_model->model);
+
return ret;
}
--
2.25.1
More information about the ffmpeg-devel
mailing list