Message ID | 20180913074952.2873-3-quinkblack@foxmail.com |
---|---|
State | Accepted |
Commit | cd732ac4728082967208f63a5a4fc5b91b96dee9 |
Headers | show |
Hi, 2018-09-13 4:49 GMT-03:00 Zhao Zhili <quinkblack@foxmail.com>: > --- > libavfilter/dnn_backend_native.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/dnn_backend_native.c b/libavfilter/dnn_backend_ > native.c > index 7ed155d..3108185 100644 > --- a/libavfilter/dnn_backend_native.c > +++ b/libavfilter/dnn_backend_native.c > @@ -489,6 +489,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); > } > -- > Patch does not apply, could you reabse it? Thanks!
diff --git a/libavfilter/dnn_backend_native.c b/libavfilter/dnn_backend_native.c index 7ed155d..3108185 100644 --- a/libavfilter/dnn_backend_native.c +++ b/libavfilter/dnn_backend_native.c @@ -489,6 +489,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); }