summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-10-28 11:55:42 +0100
committerHaruna <haru@dotalux.com>2015-10-28 11:55:42 +0100
commit6abd0fb8b1bbfe2101cc68503897b0449027fb3d (patch)
treeea3feee8351b798d14f5a5be4b86417b64b01a7b /src/map/clif.c
parent3bd77ffc0daca508352834add828766490075aee (diff)
parentd875f12e2dfba7caee51d9f6563ef80618f19448 (diff)
downloadhercules-6abd0fb8b1bbfe2101cc68503897b0449027fb3d.tar.gz
hercules-6abd0fb8b1bbfe2101cc68503897b0449027fb3d.tar.bz2
hercules-6abd0fb8b1bbfe2101cc68503897b0449027fb3d.tar.xz
hercules-6abd0fb8b1bbfe2101cc68503897b0449027fb3d.zip
Merge pull request #832 from 4144/fix831
Fix memory leak in quest sending packet (closes #831)
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
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).