diff options
author | Roger Dingledine <arma@torproject.org> | 2005-02-20 23:12:20 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-02-20 23:12:20 +0000 |
commit | b5bddd8cfdeff71fcc04553bfd8a1049ee8e90e6 (patch) | |
tree | f530119ad8e0ace67759f516fbce395e147a3214 /src/common/container.c | |
parent | 38f53cff41c110ebc367dff29fe1b247fa244569 (diff) | |
download | tor-b5bddd8cfdeff71fcc04553bfd8a1049ee8e90e6.tar.gz tor-b5bddd8cfdeff71fcc04553bfd8a1049ee8e90e6.zip |
bugfix: actually use the argument to strmap_free()
svn:r3640
Diffstat (limited to 'src/common/container.c')
-rw-r--r-- | src/common/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c index 1824645ad5..ef96d30c54 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -622,7 +622,7 @@ strmap_free(strmap_t *map, void (*free_val)(void*)) SPLAY_REMOVE(strmap_tree, &map->head, ent); tor_free(ent->key); if (free_val) - tor_free(ent->val); + free_val(ent->val); } tor_assert(SPLAY_EMPTY(&map->head)); tor_free(map); |