bladeRF-cli: Fixed incorrect return value and potential leak

Memory leak pertains to CID 1107259.