Skip to content

Commit

Permalink
- fix access violation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Gapkalov authored and Dmitry Gapkalov committed Jun 18, 2019
1 parent 628c1cc commit b902c82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IMG_gif.c
Expand Up @@ -178,6 +178,7 @@ IMG_LoadGIF_RW(SDL_RWops *src)
State_t state;
state.ZeroDataBlock = FALSE;
state.fresh = FALSE;
state.last_byte = 0;

if ( src == NULL ) {
return NULL;
Expand Down

0 comments on commit b902c82

Please sign in to comment.