summaryrefslogtreecommitdiff
path: root/src/net/charhandler.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-10-31 14:14:26 -0400
committerChuck Miller <shadowmil@gmail.com>2010-10-31 14:34:14 -0400
commitc5e341f7b5f5e4efcabd09e00e177bb873db8097 (patch)
tree208f273adc072cbe4f8c8ae850e05bfd55c5dbba /src/net/charhandler.h
parent1d96d9d100e528d881d57398bb8e13c6b0f7b559 (diff)
downloadmana-c5e341f7b5f5e4efcabd09e00e177bb873db8097.tar.gz
mana-c5e341f7b5f5e4efcabd09e00e177bb873db8097.tar.bz2
mana-c5e341f7b5f5e4efcabd09e00e177bb873db8097.tar.xz
mana-c5e341f7b5f5e4efcabd09e00e177bb873db8097.zip
Fix memory leak of localplayer classes in the charserverhandler
They are initialized else where in the code Reviewed-by: Jared Adams
Diffstat (limited to 'src/net/charhandler.h')
-rw-r--r--src/net/charhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h
index c2be5714..25fc3563 100644
--- a/src/net/charhandler.h
+++ b/src/net/charhandler.h
@@ -41,7 +41,7 @@ struct Character
{
Character() :
slot(0),
- dummy(new LocalPlayer)
+ dummy(0)
{
}