diff --git a/XMMSHandler.cpp b/XMMSHandler.cpp index 5c6d1c9..149fc01 100644 --- a/XMMSHandler.cpp +++ b/XMMSHandler.cpp @@ -317,5 +317,6 @@ XMMSHandler::medialib_info (XMMSResultDict *res) XMMSHandler::~XMMSHandler () { + delete m_xmmsc; } diff --git a/XMMSHandler.h b/XMMSHandler.h index 25a4447..61435e4 100644 --- a/XMMSHandler.h +++ b/XMMSHandler.h @@ -12,7 +12,6 @@ class XMMSHandler : public QObject, public sigc::trackable { Q_OBJECT public: static XMMSHandler *getInstance (void); - XMMSHandler (void); ~XMMSHandler (); bool connect (const char *path); @@ -69,12 +68,14 @@ class XMMSHandler : public QObject, public sigc::trackable { void medialibResponse (uint, QList >); private: + XMMSHandler (void); + QHash PropDictToQHash (XMMSResultDict *res); + QHash DictToQHash (XMMSResultDict *res); + XmmsQT4 *m_qt4; XMMSClient *m_xmmsc; static XMMSHandler *singleton; int m_currentid; - QHash PropDictToQHash (XMMSResultDict *res); - QHash DictToQHash (XMMSResultDict *res); }; #endif