summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 39cabe9c5d..88f0ca4336 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -58,8 +58,8 @@ smartlist_create(void)
void
smartlist_free(smartlist_t *sl)
{
- free(sl->list);
- free(sl);
+ tor_free(sl->list);
+ tor_free(sl);
}
/** Change the capacity of the smartlist to <b>n</b>, so that we can grow