diff --git a/work1/single.c b/work1/single.c index 8266973..fb3138a 100644 --- a/work1/single.c +++ b/work1/single.c @@ -299,7 +299,8 @@ void read_file() // we need to clear it first // before we re-initailize the new data STUDENT *temp; - while (head != NULL) { + while (head != NULL) + { temp = head; head = head->next; free(temp);