]> git.sesse.net Git - ffmpeg/commit
avcodec/pngdec: Fix memleak by postponing allocation
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 10 Mar 2021 19:16:32 +0000 (20:16 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 18 Mar 2021 23:10:24 +0000 (00:10 +0100)
commit5edcdfc318b62b8327565183e8f56b3f8dd2dd16
tree94afc6adeab058843e0faab9fb4b259511e55099
parentda12d600ea6d16ea1b61d0b9a2530dea0bbbb870
avcodec/pngdec: Fix memleak by postponing allocation

Fixes Coverity ticket #1322342.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/pngdec.c