diff --git a/gifsave.c b/gifsave.c index 0f033c8..69fabf5 100644 --- a/gifsave.c +++ b/gifsave.c @@ -823,6 +823,10 @@ GIF_Create(FILE *fp, void *buffer, int buffer_size, int width, int height, *bp++ = 0; } } + + retval->StrHsh = NULL; + retval->StrChr = NULL; + retval->StrNxt = NULL; return retval; }