diff options
Diffstat (limited to 'src/gui/emotepopup.cpp')
-rw-r--r-- | src/gui/emotepopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp index d23443a2f..3a754d0e3 100644 --- a/src/gui/emotepopup.cpp +++ b/src/gui/emotepopup.cpp @@ -77,7 +77,10 @@ EmotePopup::EmotePopup(): EmotePopup::~EmotePopup() { if (mSelectionImage) + { mSelectionImage->decRef(); + mSelectionImage = 0; + } } void EmotePopup::draw(gcn::Graphics *graphics) |