libwebp/examples
James Zern ec34fd7023 anim_util: fix leaks on error
in ReadAnimatedWebP() & ReadAnimatedGIF() when AllocateFrames() fails
due to OOM

Tested:
for i in `seq 1 278`; do
  export MALLOC_FAIL_AT=$i
  ./examples/anim_diff webp1 webp2
  ./examples/anim_diff gif1 gif2
done

Change-Id: I5d486c2c2982ae088e34a25d8e3e0188df1a9b51
2022-04-04 11:26:25 -07:00
..
Android.mk Android.mk: use LOCAL_EXPORT_C_INCLUDES w/public libs 2018-06-07 16:12:58 -07:00
anim_diff.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
anim_dump.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
anim_util.c anim_util: fix leaks on error 2022-04-04 11:26:25 -07:00
anim_util.h gif2webp: fix transcode of loop count=65535 2018-05-11 12:10:25 -07:00
cwebp.c image_dec: add WebPGetEnabledInputFileFormats() 2022-03-26 15:37:25 -07:00
dwebp.c man/cwebp.1: add note about crop/resize order 2022-03-17 16:08:34 -07:00
example_util.c Expose WebPMalloc() in addition to WebPFree() 2019-10-15 23:19:50 +02:00
example_util.h extract the command-line parsing helpers to example_util 2018-02-08 08:11:31 +00:00
gif2webp.c gif2webp: fix segfault on OOM 2022-04-04 11:26:12 -07:00
gifdec.c Expose WebPMalloc() in addition to WebPFree() 2019-10-15 23:19:50 +02:00
gifdec.h gifdec: Move inclusion of webp/config.h to header. 2015-04-17 12:43:17 -07:00
img2webp.c image_dec: add WebPGetEnabledInputFileFormats() 2022-03-26 15:37:25 -07:00
Makefile.am libwebp: Remove duplicate GIFDisplayError in anim_util 2018-10-09 17:29:54 +02:00
stopwatch.h cosmetics: normalize include guard comment 2018-08-22 14:46:53 -07:00
test_ref.ppm lot of cosmetics 2010-11-17 20:09:47 -08:00
test.webp remove INAM, ICOP, ... chunks from the test webp file. 2012-07-19 17:34:04 -07:00
unicode_gif.h libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
unicode.h unicode,INIT_WARGV: add missing cast 2019-01-24 07:08:55 +00:00
vwebp.c cosmetics: normalize '*' association 2019-07-26 01:04:09 -07:00
webpinfo.c webpinfo: fix fourcc comparison w/big-endian 2021-12-22 16:01:54 -08:00
webpmux.c examples/webpmux.c: fix a couple of typos 2022-02-17 17:10:08 -08:00