Must check if load_file succeeded

This commit is contained in:
nvt-se 2010-10-01 20:14:14 +00:00
parent d8165d30d5
commit 909569f834

View file

@ -645,7 +645,9 @@ reserve(const char *name, coffee_page_t pages,
pages, page, name);
file = load_file(page, &hdr);
file->end = 0;
if(file != NULL) {
file->end = 0;
}
COFFEE_WATCHDOG_START();
return file;