summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 18:08:35 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 18:08:35 +0000
commit6617c3d72fbb5a1ae05083348a64c3cd86e42a9b (patch)
tree37172fed7508357e9baa7ea126708dfb0439dce4
parentd247f8ddabb26c53e89b85f66b378ccb2af5aa07 (diff)
downloadhercules-6617c3d72fbb5a1ae05083348a64c3cd86e42a9b.tar.gz
hercules-6617c3d72fbb5a1ae05083348a64c3cd86e42a9b.tar.bz2
hercules-6617c3d72fbb5a1ae05083348a64c3cd86e42a9b.tar.xz
hercules-6617c3d72fbb5a1ae05083348a64c3cd86e42a9b.zip
Fixed a possible sigsegv when deleting lif under Mental Change
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8367 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/unit.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index a7690d368..885c3242b 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/19
+ * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
* Fixed HAMI_CASTLE [Toms]
* Fixed HLIF_CHANGE [Toms]
* Updated HLIF_BRAIN skill [Toms]
diff --git a/src/map/unit.c b/src/map/unit.c
index 52f5d3fb1..3defad727 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1785,7 +1785,6 @@ int unit_free(struct block_list *bl, int clrtype) {
sd->homunculus.hom_id = 0;
}
sd->hd = NULL;
- hd->master = NULL;
}
}