diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-09 11:53:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-09 11:53:18 -0400 |
commit | 61d5ce83a1ecc459798b530730316bfebe3bb192 (patch) | |
tree | fa014666f5143a669832643c2907576edb0b55e3 /src/or/rendservice.c | |
parent | 9df20f60762dbd21796bb8c9c621585662e7f708 (diff) | |
parent | abde29824ceb76bd21e728260796ecb4ff55151a (diff) | |
download | tor-61d5ce83a1ecc459798b530730316bfebe3bb192.tar.gz tor-61d5ce83a1ecc459798b530730316bfebe3bb192.zip |
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 43600cd913..92c323b10d 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -629,10 +629,11 @@ void rend_service_prune_list(void) { smartlist_t *old_service_list = rend_service_list; - /* Don't try to prune anything if we have no staging list. */ + if (!rend_service_staging_list) { - return; + rend_service_staging_list = smartlist_new(); } + rend_service_prune_list_impl_(); if (old_service_list) { /* Every remaining service in the old list have been removed from the |