[pkg-fso-commits] [SCM] libframeworkd-phonegui branch, upstream, updated. 640da47bfcff755388d0fb8f443eb34e0dea3c72
Klaus Kurzmann
mok at fluxnetz.de
Sat Dec 27 20:50:09 UTC 2008
The following commit has been merged in the upstream branch:
commit 5e19265b9231a3340c706deeaba820d39bcf219d
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Mon Dec 22 12:07:09 2008 +0100
correctly free contact cache on exit
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
diff --git a/ophonekitd/src/ophonekitd-main.c b/ophonekitd/src/ophonekitd-main.c
index 9856bc8..9c55158 100644
--- a/ophonekitd/src/ophonekitd-main.c
+++ b/ophonekitd/src/ophonekitd-main.c
@@ -424,7 +424,7 @@ void get_messagebook_info_callback(GError *error, GHashTable *info, gpointer use
void cache_phonebook_callback(GError *error, GPtrArray *contacts, gpointer userdata) {
g_debug("creating contact_cache");
- contact_cache = g_hash_table_new(g_str_hash, g_str_equal);
+ contact_cache = g_hash_table_new_full(g_str_hash, g_str_equal, free, free);
if (!contact_cache) {
g_error("could not allocate contact cache");
return;
--
libframeworkd-phonegui
More information about the pkg-fso-commits
mailing list