mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-25 04:19:05 +00:00
avfilter/dnn_backend_native: fix memleak
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
parent
5dad514379
commit
cd732ac472
@ -343,6 +343,7 @@ void ff_dnn_free_model_native(DNNModel **model)
|
||||
}
|
||||
av_freep(&network->layers[layer].params);
|
||||
}
|
||||
av_freep(&network->layers);
|
||||
av_freep(&network);
|
||||
av_freep(model);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user