summaryrefslogtreecommitdiff
path: root/src/playerinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerinfo.cpp')
-rw-r--r--src/playerinfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp
index fb78e0ae8..72b091244 100644
--- a/src/playerinfo.cpp
+++ b/src/playerinfo.cpp
@@ -330,4 +330,10 @@ void init()
mListener = new PlayerInfoListener();
}
+void deinit()
+{
+ delete mListener;
+ mListener = 0;
+}
+
} // namespace PlayerInfo