aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_blackdetect.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-10 17:22:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-11 13:06:32 +0100
commit508d7005a00ea0d047834d661109c57a1bacef53 (patch)
tree7d10a94e6f5f7174cfe4556e8c2f5b81a5e877aa /libavfilter/vf_blackdetect.c
parent16e36d5c0cb9573b10cbbc5c40aaec58d4a340e7 (diff)
downloadffmpeg-508d7005a00ea0d047834d661109c57a1bacef53.tar.gz
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>
Diffstat (limited to 'libavfilter/vf_blackdetect.c')
0 files changed, 0 insertions, 0 deletions