Plugging leaks

svn-id: r35355
This commit is contained in:
Sven Hesse 2008-12-14 04:33:28 +00:00
parent 4d79c4c9b6
commit 5f8323bd50
10 changed files with 28 additions and 25 deletions

View file

@ -378,11 +378,6 @@ Video::FontDesc *Util::loadFont(const char *path) {
return fontDesc;
}
void Util::freeFont(Video::FontDesc *fontDesc) {
delete[] (fontDesc->dataPtr - 4);
delete fontDesc;
}
void Util::insertStr(const char *str1, char *str2, int16 pos) {
int len1 = strlen(str1);
int len2 = strlen(str2);