qtmobility/src/contacts/qcontactmanager_p.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
--- a/qtmobility/src/contacts/qcontactmanager_p.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/contacts/qcontactmanager_p.h	Mon May 03 13:18:40 2010 +0300
@@ -81,9 +81,7 @@
 
     ~QContactManagerData()
     {
-        if (m_engine)
-            m_engine->deref();
-        // We rely on the owning manager to delete m_info
+        delete m_engine;
     }
 
     void createEngine(const QString& managerName, const QMap<QString, QString>& parameters);