summaryrefslogtreecommitdiff
path: root/src/gui/speechbubble.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 16:03:18 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 16:03:18 -0700
commitd05b238a3c100ed0b5b31093f3d15bb039dde8d6 (patch)
tree0fcbc93ed21ef467b857ac37d065cf10972c5648 /src/gui/speechbubble.cpp
parent0bc83fbba9c8b5f2677b8183f16dd95645f3e998 (diff)
downloadMana-d05b238a3c100ed0b5b31093f3d15bb039dde8d6.tar.gz
Mana-d05b238a3c100ed0b5b31093f3d15bb039dde8d6.tar.bz2
Mana-d05b238a3c100ed0b5b31093f3d15bb039dde8d6.tar.xz
Mana-d05b238a3c100ed0b5b31093f3d15bb039dde8d6.zip
Added destructors to some classes originally obtained from Legends of
Mazzeroth. At the moment, I think this is the last of the missing pointer deletes, but if more are found, then I'll add them to the proper classes and delete them. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/speechbubble.cpp')
-rw-r--r--src/gui/speechbubble.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp
index f14dcd52..f8c69e87 100644
--- a/src/gui/speechbubble.cpp
+++ b/src/gui/speechbubble.cpp
@@ -60,6 +60,13 @@ SpeechBubble::SpeechBubble():
setLocationRelativeTo(getParent());
}
+SpeechBubble::~SpeechBubble()
+{
+ delete mCaption;
+ delete mSpeechBox;
+ delete mSpeechArea;
+}
+
void SpeechBubble::setCaption(const std::string &name, const gcn::Color &color)
{
mCaption->setCaption(name);