From 2d08a7dbceac846f54cba6b0b75b0de1542df707 Mon Sep 17 00:00:00 2001 From: louie Date: Sat, 11 Jul 2020 17:13:24 -0700 Subject: Small fix to ensure head pointer does not get lost --- group.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'group.c') 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; -- cgit