Ethereal-dev: [ethereal-dev] g_hash_table_insert

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Mon, 11 Oct 1999 00:52:03 +0900
Hi,

does anyone know if g_hash_table_insert actually requires the keys
structure (memory area) to be dynamically allocated off the heap?  I would
have thought that after the insert/lookup, the storage for the keys would
no longer be needed??

Or does simply keep a pointer to the key structure around so it does not
have to deal at all with the clients keys?



Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course