* Looks like I fixed all of the leaks.. need someone to check :P
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6692 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
2870364349
commit
0867d2e23e
@ -1416,7 +1416,7 @@ int do_final_pet(void) {
|
||||
int i;
|
||||
for(i = 0;i < MAX_PET_DB; i++) {
|
||||
if(pet_db[i].script) {
|
||||
aFree(pet_db[i].script);
|
||||
script_free_code(pet_db[i].script);
|
||||
pet_db[i].script = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user