Commit 341553de8a for ffmpeg

commit 341553de8a6224e636a56d084e3b635290377742
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Mon Oct 12 02:42:03 2026 +0200

    avfilter/dnn_backend_openvino: do not free the model when updating it fails

    Fixes: double free
    Fixes: QIOnvFKEz80N
    Regression since: 22652b576c
    Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
    Double free Replicated through UnModified FFmpeg with ASAN

diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c
index d134beed12..1b681520e2 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -749,8 +749,6 @@ static int init_model_ov(OVModel *ov_model, const char *input_name, const char *
     status = ov_preprocess_prepostprocessor_build(ov_model->preprocess, &ov_model->ov_model);
     if (status != OK) {
         av_log(ctx, AV_LOG_ERROR, "Failed to update OV model\n");
-        ov_model_free(tmp_ov_model);
-        tmp_ov_model = NULL;
         ret = ov2_map_error(status, NULL);
         goto err;
     }