mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/dnn_backend_native: fix invalid free
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
parent
0d7a75e848
commit
5dad514379
|
@ -343,7 +343,7 @@ void ff_dnn_free_model_native(DNNModel **model)
|
||||||
}
|
}
|
||||||
av_freep(&network->layers[layer].params);
|
av_freep(&network->layers[layer].params);
|
||||||
}
|
}
|
||||||
av_freep(network);
|
av_freep(&network);
|
||||||
av_freep(model);
|
av_freep(model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue