1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-06-03 16:24:53 +02:00

avfilter/dnn_backend_native: fix memleak

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
Zhao Zhili
2018-09-19 10:55:13 +08:00
committed by Pedro Arthur
parent 5dad514379
commit cd732ac472
+1
View File
@@ -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);
}