diff options
author | Olli Salli <ollisal@gmail.com> | 2010-11-30 23:01:15 +0200 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2010-11-30 23:01:15 +0200 |
commit | 5083dbb5f00870cec761e77cc53a4ba5b4713422 (patch) | |
tree | c89e7caf52fd8dc354c942d19492dd92d3396d06 /qt4 | |
parent | eff20089214c5b5d1454916e2063dd8baa3c2764 (diff) |
Don't leak caps hash table in TestContactsCapabilities
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/tests/dbus/contacts-capabilities.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt4/tests/dbus/contacts-capabilities.cpp b/qt4/tests/dbus/contacts-capabilities.cpp index 3e8d1e18c..07a89edde 100644 --- a/qt4/tests/dbus/contacts-capabilities.cpp +++ b/qt4/tests/dbus/contacts-capabilities.cpp @@ -194,6 +194,7 @@ void TestContactsCapabilities::testCapabilities() GHashTable *capabilities = createContactCapabilities(handles); tp_tests_contacts_connection_change_capabilities(mConnService, capabilities); + g_hash_table_destroy(capabilities); PendingContacts *pending = mConn->contactManager()->contactsForIdentifiers( ids, Features() << Contact::FeatureCapabilities); |