Do not remove the info struct on a failure to hfa prepare.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 6c9e1ff..8954a82 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1233,9 +1233,8 @@ out:
ret = false;
if (!ret) {
- hfa_clear_readbuf(hashfast);
- free(info);
- hashfast->device_data = NULL;
+ if (!hashfast->usbinfo.nodev)
+ hfa_clear_readbuf(hashfast);
usb_nodev(hashfast);
}