summaryrefslogtreecommitdiff
path: root/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'group.c')
-rw-r--r--group.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/group.c b/group.c
index 36d0df3..e1ca5a1 100644
--- a/group.c
+++ b/group.c
@@ -153,6 +153,8 @@ void clean_groups(){
}
}
+ //ensure groups->head is still correct
+ groups_head = dummy_head->next;
group_rm(dummy_head);
return;