summaryrefslogtreecommitdiff
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
parent8f36e6816b5d5bd968f28e3c0acb269560d2796f (diff)
Small fix to ensure head pointer does not get lost
-rw-r--r--group.c2
-rw-r--r--group.obin7912 -> 7960 bytes
2 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;
diff --git a/group.o b/group.o
index 2b1b6e1..9b89789 100644
--- a/group.o
+++ b/group.o
Binary files differ