Cleanup to avoid a memory leak, fixes  anchor/libmarquise#7
Cleanup to avoid a memory leak, fixes  anchor/libmarquise#7

This addresses the latter two failure cases, catching interesting
failures between the C and Python layers.

anchor/pymarquise,anchor/pymarquise