avfilter/dnn_backend_native: fix memleak
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
parent
5dad514379
commit
cd732ac472
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue