avfilter/dnn_backend_native: fix invalid free

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
Zhao Zhili 2018-09-19 10:55:12 +08:00 committed by Pedro Arthur
parent 0d7a75e848
commit 5dad514379
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ void ff_dnn_free_model_native(DNNModel **model)
}
av_freep(&network->layers[layer].params);
}
av_freep(network);
av_freep(&network);
av_freep(model);
}
}