Fix memleak in OP_RaidUpdate

This commit is contained in:
Michael Cook (mackal)
2015-01-03 01:52:24 -05:00
parent 6a2260f106
commit 7cbefa4ec2
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2643,7 +2643,7 @@ namespace RoF
dest->FastQueuePacket(&outapp); dest->FastQueuePacket(&outapp);
} }
delete[] __emu_buffer; safe_delete(inapp);
} }
ENCODE(OP_ReadBook) ENCODE(OP_ReadBook)
+1 -1
View File
@@ -2727,7 +2727,7 @@ namespace RoF2
dest->FastQueuePacket(&outapp); dest->FastQueuePacket(&outapp);
} }
delete[] __emu_buffer; safe_delete(inapp);
} }
ENCODE(OP_ReadBook) ENCODE(OP_ReadBook)
+1 -1
View File
@@ -1705,7 +1705,7 @@ namespace SoD
dest->FastQueuePacket(&outapp); dest->FastQueuePacket(&outapp);
} }
delete[] __emu_buffer; safe_delete(inapp);
} }
ENCODE(OP_ReadBook) ENCODE(OP_ReadBook)
+1 -1
View File
@@ -1363,7 +1363,7 @@ namespace SoF
dest->FastQueuePacket(&outapp); dest->FastQueuePacket(&outapp);
} }
delete[] __emu_buffer; safe_delete(inapp);
} }
ENCODE(OP_ReadBook) ENCODE(OP_ReadBook)
+1 -1
View File
@@ -1991,7 +1991,7 @@ namespace Underfoot
dest->FastQueuePacket(&outapp); dest->FastQueuePacket(&outapp);
} }
delete[] __emu_buffer; safe_delete(inapp);
} }
ENCODE(OP_ReadBook) ENCODE(OP_ReadBook)