summaryrefslogtreecommitdiff
path: root/tables/apr_skiplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tables/apr_skiplist.c')
-rw-r--r--tables/apr_skiplist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tables/apr_skiplist.c b/tables/apr_skiplist.c
index acaec16ba..2734fbad5 100644
--- a/tables/apr_skiplist.c
+++ b/tables/apr_skiplist.c
@@ -606,7 +606,8 @@ static int skiplisti_remove(apr_skiplist *sl, apr_skiplistnode *m, apr_skiplist_
sl->height--;
}
if (!sl->top) {
- sl->bottom = NULL;
+ sl->bottom = sl->bottomend = NULL;
+ sl->topend = NULL;
}
return sl->height; /* return 1; ?? */
}