Index: main/astmm.c =================================================================== --- main/astmm.c (revision 155240) +++ main/astmm.c (working copy) @@ -114,6 +114,7 @@ if (!(reg = malloc(size + sizeof(*reg) + sizeof(*fence)))) { astmm_log("Memory Allocation Failure - '%d' bytes in function %s " "at line %d of %s\n", (int) size, func, lineno, file); + return NULL; } ast_copy_string(reg->file, file, sizeof(reg->file));