On reflection, freeing keys and values in hashtable processing is not a good idea because we don't know what they are, and can put up with some small memory losses.

This commit is contained in:
counterpoint
2015-09-21 15:49:57 +01:00
parent 7aa36b77ea
commit 15f042f083

View File

@ -763,8 +763,6 @@ char buf[40];
value = valueread(fd); value = valueread(fd);
if (key == NULL || value == NULL) if (key == NULL || value == NULL)
{ {
free(key);
free(value);
break; break;
} }
hashtable_add(table, key, value); hashtable_add(table, key, value);