Fix issue with extraneous free result