Fix: urcu-bp: re-initialize list head on library exit
[urcu.git] / urcu-bp.c
index 22e17ccdd0a81eafe3b49917bb610f10a5e2ac3c..cbdebf407a892c2d201d42d948025723702414e7 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
@@ -612,6 +612,7 @@ void rcu_bp_exit(void)
                        munmap(chunk, chunk->data_len
                                        + sizeof(struct registry_chunk));
                }
+               CDS_INIT_LIST_HEAD(&registry_arena.chunk_list);
                ret = pthread_key_delete(urcu_bp_key);
                if (ret)
                        abort();
This page took 0.029744 seconds and 4 git commands to generate.