summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorgreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-24 16:27:04 +0000
committergreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-24 16:27:04 +0000
commita5244368bb4c8887d900228658f4fa680222d0da (patch)
tree3b29ef1eb50674abb4005dda2b362675da5d43eb /src/map/npc.h
parent173905288bdb123e7c2249f9d05714acf2f1541a (diff)
downloadhercules-a5244368bb4c8887d900228658f4fa680222d0da.tar.gz
hercules-a5244368bb4c8887d900228658f4fa680222d0da.tar.bz2
hercules-a5244368bb4c8887d900228658f4fa680222d0da.tar.xz
hercules-a5244368bb4c8887d900228658f4fa680222d0da.zip
Fixed memory leak on MvP tomb system, killer name now uses static buffer. (bugreport:5615)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 47f6117d9..81491eeb3 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -65,7 +65,7 @@ struct npc_data {
struct {
struct mob_data *md;
time_t kill_time;
- char *killer_name;
+ char killer_name[NAME_LENGTH];
} tomb;
} u;
};