Fix memory leak on error condition
1 file changed