diff options
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/emoteshortcutcontainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp index c45c0a44c..bdba4a807 100644 --- a/src/gui/widgets/emoteshortcutcontainer.cpp +++ b/src/gui/widgets/emoteshortcutcontainer.cpp @@ -87,7 +87,10 @@ EmoteShortcutContainer::~EmoteShortcutContainer() delete mEmotePopup; if (mBackgroundImg) + { mBackgroundImg->decRef(); + mBackgroundImg = 0; + } } void EmoteShortcutContainer::draw(gcn::Graphics *graphics) |