diff --git a/texture.c b/texture.c index eaca8d4..6068bf2 100644 --- a/texture.c +++ b/texture.c @@ -100,5 +100,6 @@ int text_texture_frame_destroy(text_texture_frame* text_texture_frame) text_texture_destroy(&text_texture_frame->textures[i]); } free(text_texture_frame->textures); + text_texture_frame->textures = NULL; return 1; }