summaryrefslogtreecommitdiff
path: root/src/gui/speechbubble.cpp
diff options
context:
space:
mode:
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);