Clean up mpq memory
This commit is contained in:
parent
36a03d778f
commit
d87f22156b
1 changed files with 3 additions and 0 deletions
|
@ -647,6 +647,7 @@ global MapInfo* GetScmInfo(const char* scm)
|
|||
}
|
||||
|
||||
free(scmdata);
|
||||
CleanMpq();
|
||||
|
||||
return info;
|
||||
}
|
||||
|
@ -1280,6 +1281,8 @@ global void LoadScm(const char* scm,WorldMap* map)
|
|||
MapOffsetX=0;
|
||||
MapOffsetY+=height;
|
||||
}
|
||||
|
||||
CleanMpq();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue