diff options
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 48a5aa7efb..240390bb52 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1942,7 +1942,7 @@ sort_version_list(smartlist_t *versions, int remove_duplicates) * version */ if (_compare_tor_version_str_ptr(a,b) == 0) { tor_free(smartlist_get(versions, i)); - smartlist_del(versions, i--); + smartlist_del_keeporder(versions, i--); } } } |