merge-parser: Don't crash on allocation error