Fix segfault for new error handling code.
2 files changed