Fixes NB#270997 - contactsd is leaking resources in tracker master
authorXavier Claessens <xclaesse@gmail.com>
Fri, 8 Jul 2011 16:39:45 +0000 (18:39 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Fri, 8 Jul 2011 16:39:45 +0000 (18:39 +0200)
commit34312dc0393f483dc8e0ec6f5f5946a5014e92a2
treed8e30c5ddb2a7ebe65cadbe03d6cfe206629b2be
parentb8634335a2fec76f9eb53f66aba8f36221a18cc9
Fixes NB#270997 - contactsd is leaking resources in tracker

Register a GC query, and assert in unit tests there there are no resources leaked
at cleanup.

Notice the FIXME in 2 unit tests that cannot verify for leaked resournces because
some are to the responsability of qct's GC query.
plugins/telepathy/cdtpstorage.cpp
plugins/telepathy/cdtpstorage.h
tests/ut_telepathyplugin/test-telepathy-plugin.cpp
tests/ut_telepathyplugin/test-telepathy-plugin.h
tests/ut_telepathyplugin/ut_telepathyplugin.pro
tests/ut_telepathyplugin/with-daemon.sh.in