diff options
-rw-r--r-- | textscreen/txt_sdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/txt_sdl.c b/textscreen/txt_sdl.c index 477fdb52..c22580fe 100644 --- a/textscreen/txt_sdl.c +++ b/textscreen/txt_sdl.c @@ -240,6 +240,7 @@ int TXT_Init(void) void TXT_Shutdown(void) { free(screendata); + screendata = NULL; SDL_QuitSubSystem(SDL_INIT_VIDEO); } |