Patches item #1670473, was opened at 2007-02-27 21:42
Message generated for change (Comment added) made by thekingant
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: PeterTang (petertang)
Assigned to: Nobody/Anonymous (nobody)
Summary: memory leak in msn_table

Initial Comment:
Every value in hashtable table->cmds is a hashtable ,too

But they are NOT released 

So I think this to be added in function :


and the cmds_destroy is like this:
static void
cmds_destroy(gpointer key, gpointer value, gpointer user_data)


>Comment By: Mark Doliner (thekingant)
Date: 2007-03-01 03:33

Logged In: YES 
Originator: NO

Good catch.  I just changed
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,


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Gaim-patches mailing list

Reply via email to