CRUISE: Fix mismatching malloc/delete[]

This commit is contained in:
Eugene Sandulenko 2020-04-27 22:51:25 +02:00
parent eb04cff38d
commit 1cf604363c

View File

@ -273,7 +273,7 @@ void drawString(int32 x, int32 y, const char *string, uint8 *buffer, uint8 fontC
// Free the data
delete s->imagePtr;
delete s;
free(s);
}
// calculates all necessary datas and renders text