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
..
2022-04-04 11:26:25 -07:00
2022-04-04 11:26:12 -07:00
2010-11-17 20:09:47 -08:00
2019-01-24 07:08:55 +00:00
2019-07-26 01:04:09 -07:00