handle failed memory allocation

This commit is contained in:
SowinskiBraeden committed 2024-10-20 10:57:32 -07:00
1 parent 2af472cdde
commit 3628f0447c
6 files changed
+38 -6

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ CSV_LINE *csvReader(char data_dir[], size_t size) {
}
CSV_LINE *lines = malloc(size * sizeof(CSV_LINE));
handle(lines, "'lines' from csvReader");
char buff[MAX_CHAR];
int i = 0;