Re: [spam score 3.56/10.0 -pobox] Possble problem with g_hash_table_remove() not resizing table



darren@seattleserver.com writes: 	
> 	g_free(ori_key);
> 	g_free(ori_val);
> 	g_hash_table_remove(table, (gpointer)&lkey);

Move the g_free() calls after the hash removal, and I bet it will
work.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]