1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavfilter/dnn
Andreas Rheinhardt 508d7005a0 dnn/dnn_backend_native_layer_conv2d: Fix memleak on error
If an error happens when preparing the output data buffer, an already
allocated array would leak. Fix this by postponing its allocation.

Fixes Coverity issue #1473531.

Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-03-11 13:06:32 +01:00
..
dnn_backend_native_layer_avgpool.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_avgpool.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_conv2d.c dnn/dnn_backend_native_layer_conv2d: Fix memleak on error 2021-03-11 13:06:32 +01:00
dnn_backend_native_layer_conv2d.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_dense.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_dense.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_depth2space.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_depth2space.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_mathbinary.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_mathbinary.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_mathunary.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_mathunary.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_maximum.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_maximum.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_pad.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_pad.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layers.c dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layers.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native.c dnn/dnn_backend_native: Fix typo in log message 2021-03-11 12:43:08 +01:00
dnn_backend_native.h dnn: add function type for model 2021-02-18 09:59:37 +08:00
dnn_backend_openvino.c dnn_backend_openvino.c: allow out_frame as NULL for analytic case 2021-02-18 09:59:37 +08:00
dnn_backend_openvino.h dnn: add function type for model 2021-02-18 09:59:37 +08:00
dnn_backend_tf.c dnn: add color conversion for analytic case 2021-02-18 09:59:37 +08:00
dnn_backend_tf.h dnn: add function type for model 2021-02-18 09:59:37 +08:00
dnn_interface.c libavfilter/dnn: add batch mode for async execution 2021-01-15 08:59:54 +08:00
dnn_io_proc.c dnn: add color conversion for analytic case 2021-02-18 09:59:37 +08:00
dnn_io_proc.h dnn: add color conversion for analytic case 2021-02-18 09:59:37 +08:00
Makefile
queue.c dnn/queue: remove prefix FF for Queue and SafeQueue 2021-01-22 08:28:13 +08:00
queue.h dnn/queue: remove prefix FF for Queue and SafeQueue 2021-01-22 08:28:13 +08:00
safe_queue.c dnn/queue: remove prefix FF for Queue and SafeQueue 2021-01-22 08:28:13 +08:00
safe_queue.h dnn/queue: remove prefix FF for Queue and SafeQueue 2021-01-22 08:28:13 +08:00