[FFmpeg-cvslog] libavfilter/dnn_interface.c: fix av_freep dnn_module.

Sergey Lavrushkin git at videolan.org
Fri Jun 8 16:27:41 EEST 2018


ffmpeg | branch: master | Sergey Lavrushkin <dualfal at gmail.com> | Thu Jun  7 18:22:22 2018 +0300| [648361c2faf39dbd00b716367add6ccea1464030] | committer: Pedro Arthur

libavfilter/dnn_interface.c: fix av_freep dnn_module.

Signed-off-by: Pedro Arthur <bygrandao at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=648361c2faf39dbd00b716367add6ccea1464030
---

 libavfilter/dnn_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/dnn_interface.c b/libavfilter/dnn_interface.c
index ce64fe58f3..87c90526be 100644
--- a/libavfilter/dnn_interface.c
+++ b/libavfilter/dnn_interface.c
@@ -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
     }



More information about the ffmpeg-cvslog mailing list