aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/releases.txt1
-rw-r--r--src/gdisp/gdisp_image_gif.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/releases.txt b/docs/releases.txt
index b7625e66..d66d6754 100644
--- a/docs/releases.txt
+++ b/docs/releases.txt
@@ -20,6 +20,7 @@ FEATURE: Add ability to capture mouse events on the win32 ugfx emaultor window
FIX: Fixing issue where children of (nested) containers were not properly handled when callin gwinRaise()
FEATURE: Automatically close all open files in gfileDeinit()
FEATURE: Adding support for IAR and EDG compilers
+FIX: Fixing crash when loading GIF image without enough memory available
*** Release 2.5 ***
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 */