Replace all localization SDL_free with VVV_free

This mirrors a926ce9851 upstream, which
replaces all other SDL_free calls.
This commit is contained in:
Dav999-v
2022-12-31 04:37:45 +01:00
committed by Misa Elizabeth Kai
parent 7a52dc9586
commit 2b84384606
4 changed files with 18 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
#include <SDL.h>
#include "Alloc.h"
#include "Vlogging.h"
void textbook_init(Textbook* textbook)
@@ -19,7 +20,7 @@ void textbook_clear(Textbook* textbook)
for (short p = 0; p < textbook->pages_used; p++)
{
SDL_free(textbook->page[p]);
VVV_free(textbook->page[p]);
}
textbook->pages_used = 0;
}