Changed to vector.c and hashmap.c

Added the debugging_strdup() function.
Fixed a memory leak in get_all_headers.
This commit is contained in:
Robert James Kaes 2002-04-18 18:00:35 +00:00
parent 9a8d732a13
commit 45a96fde12

View File

@ -1,5 +1,9 @@
2002-04-18 Robert James Kaes <rjkaes@flarenet.com> 2002-04-18 Robert James Kaes <rjkaes@flarenet.com>
* src/vector.c:
* src/hashmap.c: Changed all calls to malloc, calloc, free, and
strdup to the appropriate safe variety.
* src/utils.c (debugging_strdup): Added this function to be used * src/utils.c (debugging_strdup): Added this function to be used
by the safestrdup() macro to replace all the calls to strdup(). by the safestrdup() macro to replace all the calls to strdup().
This should allow better tracking of the memory usage. This should allow better tracking of the memory usage.