diff --git a/src/common/container.c b/src/common/container.c index ef96d30c54..f99aa03862 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -623,6 +623,7 @@ strmap_free(strmap_t *map, void (*free_val)(void*)) tor_free(ent->key); if (free_val) free_val(ent->val); + tor_free(ent); } tor_assert(SPLAY_EMPTY(&map->head)); tor_free(map);