Mercurial > pidgin
changeset 15745:d3d9f28fb6d0
Fix a memory leak found by Peter Tang. Thanks man!
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 01 Mar 2007 08:33:21 +0000 |
parents | 8e24d43f529a |
children | 12a69097cb5a |
files | libpurple/protocols/msn/table.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);