diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-10-31 14:14:26 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-10-31 14:34:14 -0400 |
commit | c5e341f7b5f5e4efcabd09e00e177bb873db8097 (patch) | |
tree | 208f273adc072cbe4f8c8ae850e05bfd55c5dbba /src/net/charhandler.h | |
parent | 1d96d9d100e528d881d57398bb8e13c6b0f7b559 (diff) | |
download | mana-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.h | 2 |
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) { } |