Memory leak fix.

This commit is contained in:
Steve 2018-12-09 08:57:44 +00:00
parent e3a02542c8
commit c2b6dc300d
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ static void initChars(Font *f)
character = nextCharacter(characters, &i);
}
free(characters);
}
void drawText(int x, int y, int size, int align, SDL_Color color, const char *format, ...)