diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-28 13:13:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-28 13:13:16 +0300 |
commit | d875f12e2dfba7caee51d9f6563ef80618f19448 (patch) | |
tree | ea3feee8351b798d14f5a5be4b86417b64b01a7b | |
parent | 3bd77ffc0daca508352834add828766490075aee (diff) | |
download | hercules-d875f12e2dfba7caee51d9f6563ef80618f19448.tar.gz hercules-d875f12e2dfba7caee51d9f6563ef80618f19448.tar.bz2 hercules-d875f12e2dfba7caee51d9f6563ef80618f19448.tar.xz hercules-d875f12e2dfba7caee51d9f6563ef80618f19448.zip |
Fix memory leak in quest sending packet (closes #831)
-rw-r--r-- | src/map/clif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 95ad088e5..80703fa12 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -15529,6 +15529,7 @@ void clif_quest_send_list(struct map_session_data *sd) } packet->PacketLength = real_len; clif->send(buf, real_len, &sd->bl, SELF); + aFree(buf); } /// Sends list of all quest missions (ZC_ALL_QUEST_MISSION). |