diff --git a/townengine/textures/textures.c b/townengine/textures/textures.c index fd0a56e..145bd40 100644 --- a/townengine/textures/textures.c +++ b/townengine/textures/textures.c @@ -521,7 +521,6 @@ void textures_bind_repeating(const struct texture_cache *cache, t_texture_key ke texture.data->pixels); SDL_UnlockSurface(texture.data); - SDL_FreeSurface(texture.data); cache->hash[key.id].value.repeating_texture = repeating_texture;