Thu, 01 Mar 2007 08:33:21 +0000
Fix a memory leak found by Peter Tang. Thanks man!
| libpurple/protocols/msn/table.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/msn/table.c Thu Mar 01 08:26:07 2007 +0000 +++ b/libpurple/protocols/msn/table.c Thu Mar 01 08:33:21 2007 +0000 @@ -41,7 +41,7 @@ table = g_new0(MsnTable, 1); - table->cmds = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); + table->cmds = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify)g_hash_table_destroy); table->msgs = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); table->errors = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL);