summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 12:39:47 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 12:39:47 +0000
commitbc3bb1ff88435870ef574790d5049ad74e9263e7 (patch)
treebae416872e204c243415a7bccb1147e5203bb8f1 /src/map
parent22e1db931f45226b27f7b84e0c1e183aaef56842 (diff)
downloadhercules-bc3bb1ff88435870ef574790d5049ad74e9263e7.tar.gz
hercules-bc3bb1ff88435870ef574790d5049ad74e9263e7.tar.bz2
hercules-bc3bb1ff88435870ef574790d5049ad74e9263e7.tar.xz
hercules-bc3bb1ff88435870ef574790d5049ad74e9263e7.zip
* Looks like I fixed all of the leaks.. need someone to check :P
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6692 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 79645cda8..94d652aa5 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -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;
}
}