mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Fix memleak in OP_RaidJoin
This commit is contained in:
parent
3da3b5641f
commit
1b5db0684e
@ -2576,7 +2576,7 @@ namespace RoF
|
|||||||
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
||||||
|
|
||||||
dest->FastQueuePacket(&outapp_create);
|
dest->FastQueuePacket(&outapp_create);
|
||||||
delete[] __emu_buffer;
|
safe_delete(inapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
ENCODE(OP_RaidUpdate)
|
ENCODE(OP_RaidUpdate)
|
||||||
|
|||||||
@ -2660,7 +2660,7 @@ namespace RoF2
|
|||||||
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
||||||
|
|
||||||
dest->FastQueuePacket(&outapp_create);
|
dest->FastQueuePacket(&outapp_create);
|
||||||
delete[] __emu_buffer;
|
safe_delete(inapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
ENCODE(OP_RaidUpdate)
|
ENCODE(OP_RaidUpdate)
|
||||||
|
|||||||
@ -1638,7 +1638,7 @@ namespace SoD
|
|||||||
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
||||||
|
|
||||||
dest->FastQueuePacket(&outapp_create);
|
dest->FastQueuePacket(&outapp_create);
|
||||||
delete[] __emu_buffer;
|
safe_delete(inapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
ENCODE(OP_RaidUpdate)
|
ENCODE(OP_RaidUpdate)
|
||||||
|
|||||||
@ -1296,7 +1296,7 @@ namespace SoF
|
|||||||
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
||||||
|
|
||||||
dest->FastQueuePacket(&outapp_create);
|
dest->FastQueuePacket(&outapp_create);
|
||||||
delete[] __emu_buffer;
|
safe_delete(inapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
ENCODE(OP_RaidUpdate)
|
ENCODE(OP_RaidUpdate)
|
||||||
|
|||||||
@ -1924,7 +1924,7 @@ namespace Underfoot
|
|||||||
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
strn0cpy(general->player_name, raid_create->leader_name, 64);
|
||||||
|
|
||||||
dest->FastQueuePacket(&outapp_create);
|
dest->FastQueuePacket(&outapp_create);
|
||||||
delete[] __emu_buffer;
|
safe_delete(inapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
ENCODE(OP_RaidUpdate)
|
ENCODE(OP_RaidUpdate)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user