summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/simple_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/simple_list.h b/src/util/simple_list.h
index 903432dce5c..5f261612aec 100644
--- a/src/util/simple_list.h
+++ b/src/util/simple_list.h
@@ -55,6 +55,7 @@ struct simple_node {
do { \
(elem)->next->prev = (elem)->prev; \
(elem)->prev->next = (elem)->next; \
+ make_empty_list(elem); \
} while (0)
/**