open-file: add missing assert

This commit is contained in:
David Tardon
2023-08-17 09:48:17 +02:00
parent 6e8c5e9766
commit 01d3fe43e2
+2
View File
@@ -132,6 +132,8 @@ OpenFile *open_file_free(OpenFile *of) {
}
void open_file_free_many(OpenFile **head) {
assert(head);
LIST_CLEAR(open_files, *head, open_file_free);
}