Plugging leaks
svn-id: r35355
This commit is contained in:
parent
4d79c4c9b6
commit
5f8323bd50
10 changed files with 28 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue