diff options
author | Joel Bodenmann <joel@embedded.pro> | 2016-07-27 13:08:18 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2016-07-27 13:08:18 +0200 |
commit | f2cf8b9814e7c231634860b291ba9a5adab3456f (patch) | |
tree | a1027c4a212b12f384aa4c940b18a0effbe57bbd /src/gdisp | |
parent | 0abb8d3af3e7640d99a822903464963b2877fa9f (diff) | |
download | uGFX-f2cf8b9814e7c231634860b291ba9a5adab3456f.tar.gz uGFX-f2cf8b9814e7c231634860b291ba9a5adab3456f.tar.bz2 uGFX-f2cf8b9814e7c231634860b291ba9a5adab3456f.zip |
Fixing crash when loading GIF image without enough memory available
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/gdisp_image_gif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gdisp/gdisp_image_gif.c b/src/gdisp/gdisp_image_gif.c index 5a3f68c6..5b29ec06 100644 --- a/src/gdisp/gdisp_image_gif.c +++ b/src/gdisp/gdisp_image_gif.c @@ -550,6 +550,7 @@ gdispImageError gdispImageOpen_GIF(gdispImage *img) { priv->frame.flags = 0; priv->cache = 0; priv->curcache = 0; + priv->decode = 0; /* Process the Screen Descriptor structure */ |