Memory leak in the hashmap_delete() function has been fixed.
This commit is contained in:
parent
d14b612e13
commit
09c7acf9fc
@ -3,6 +3,8 @@
|
|||||||
* src/vector.c:
|
* src/vector.c:
|
||||||
* src/hashmap.c: Changed all calls to malloc, calloc, free, and
|
* src/hashmap.c: Changed all calls to malloc, calloc, free, and
|
||||||
strdup to the appropriate safe variety.
|
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
|
* 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().
|
||||||
|
Loading…
Reference in New Issue
Block a user