mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
CRUISE: Fix mismatching malloc/delete[]
This commit is contained in:
parent
eb04cff38d
commit
1cf604363c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user