From a90c9c5ade55684cfd46b18f91edeb9208d1f7d7 Mon Sep 17 00:00:00 2001 From: Skabunkel <> Date: Thu, 28 Feb 2019 17:50:47 +0100 Subject: [PATCH] Removed unnecessary --- src/text.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index 24f51f97..f228a4df 100644 --- a/src/text.c +++ b/src/text.c @@ -688,8 +688,7 @@ void UnloadFont(Font font) { for (int i = 0; i < font.charsCount; i++) { - if(font.chars[i].data != NULL) - free(font.chars[i].data); + free(font.chars[i].data); } UnloadTexture(font.texture); free(font.chars);