Don't free the info struct on hashfast shutdown since it's still accessed after a device is removed.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 2f0c076..f77b259 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1016,7 +1016,8 @@ static void hfa_shutdown(struct thr_info *thr)
free(info->works);
free(info->die_statistics);
free(info->die_status);
- free(info);
+ /* Don't free info here since it will be accessed by statline before
+ * if a device is removed. */
}
struct device_drv hashfast_drv = {