hunting memory management bug

This commit is contained in:
Arnout Engelen
2004-09-15 12:49:05 +00:00
parent fc333df257
commit cd3fce3e54
8 changed files with 134 additions and 67 deletions

View File

@@ -68,7 +68,7 @@ void HashTable::add(char * key, void * content)
{
char * localkey = strdup(key);
unsigned int hkey = HashString (localkey);
//std::cout << "(STILL)Adding node: " << localkey << " key " << hkey << endl;
//std::cout << "LOC: Adding node: " << localkey << " key " << hkey << endl;
table[hkey] = newHashNode(localkey, content, table[hkey]);
}