Fix potential memory leak in error path reported by Michael Bloom
2 files changed