summaryrefslogtreecommitdiff
path: root/group.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-07-11 17:13:24 -0700
committerlouie <lshprung@yahoo.com>2020-07-11 17:13:24 -0700
commit2d08a7dbceac846f54cba6b0b75b0de1542df707 (patch)
tree789218edabe91de3dba177fc8b601bcc265e0d24 /group.c
parent8f36e6816b5d5bd968f28e3c0acb269560d2796f (diff)
Small fix to ensure head pointer does not get lost
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;