- Fix for #852: Completion of error handling.

This commit is contained in:
W.C.A. Wijngaards
2023-02-23 13:38:29 +01:00
parent ed07c5424d
commit d97c174f50
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -177,6 +177,8 @@ static int readup_str(char** str, FILE* in)
}
buf[len] = 0;
*str = strdup(buf);
if(!*str)
fatal_exit("strdup failed: out of memory");
return 1;
}