aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-01-10 11:20:52 +0100
committerAnubisss <none@none>2010-01-10 11:20:52 +0100
commit6cbe65eaa3391a5b524583b18b4dace03b8dcb2c (patch)
tree295e00ab5b0c10ea57ebe6ad109026e53ad3bcee /src/game/Pet.cpp
parentc65aa45bc64f7baa35c348a34f05d1d62a02c31a (diff)
Fix a mem leak.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 71827be8bc9..5fe6a64932d 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -344,6 +344,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
{
m_declinedname->name[i] = fields2[i].GetCppString();
}
+ delete result;
}
}