1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

libavfilter/dnn_interface.c: fix av_freep dnn_module.

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
Sergey Lavrushkin 2018-06-07 18:22:22 +03:00 committed by Pedro Arthur
parent d29c35b4d8
commit 648361c2fa

View File

@ -51,7 +51,7 @@ DNNModule* ff_get_dnn_module(DNNBackendType backend_type)
dnn_module->execute_model = &ff_dnn_execute_model_tf;
dnn_module->free_model = &ff_dnn_free_model_tf;
#else
av_freep(dnn_module);
av_freep(&dnn_module);
return NULL;
#endif
}