This commit is contained in:
Weber 2024-03-21 21:06:57 +00:00
parent 9f977b7803
commit 3b454f509a

View File

@ -35,7 +35,7 @@ int main() {
students_capacity = (students_capacity + 1) * 2;
student_t *new_students = realloc(students, students_capacity * sizeof(student_t));
if (new_students == NULL) {
fprintf(stderr, "Error: Memory reallocation failed\n");
fprintf(stderr, "Error");
return 1;
}
students = new_students;