mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-04 17:20:26 +00:00
Fix memleak in OP_RaidJoin
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user