aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 119345b1dd..c634ade44d 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3119,6 +3119,6 @@ sort_version_list(smartlist_t *versions, int remove_duplicates)
smartlist_sort(versions, _compare_tor_version_str_ptr);
if (remove_duplicates)
- smartlist_uniq(versions, _compare_tor_version_str_ptr, NULL);
+ smartlist_uniq(versions, _compare_tor_version_str_ptr, _tor_free);
}