avfilter/dnn_backend_native: fix invalid free

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
pull/296/head
Zhao Zhili 6 years ago committed by Pedro Arthur
parent 0d7a75e848
commit 5dad514379
  1. 2
      libavfilter/dnn_backend_native.c

@ -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);
}
}

Loading…
Cancel
Save