Memory leak in the hashmap_delete() function has been fixed.

This commit is contained in:
Robert James Kaes 2002-04-18 18:41:27 +00:00
parent d14b612e13
commit 09c7acf9fc

View File

@ -3,6 +3,8 @@
* src/vector.c:
* src/hashmap.c: Changed all calls to malloc, calloc, free, and
strdup to the appropriate safe variety.
(hashmap_delete): Fixed a memory leak where the maps were not
being freed properly.
* src/utils.c (debugging_strdup): Added this function to be used
by the safestrdup() macro to replace all the calls to strdup().