From 31bbaa149128c3f192cbac20fa358640786018ed Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 5 Nov 2013 21:21:57 +1100 Subject: [PATCH] Don't free the cgpu data on shutting down avalon driver. --- driver-avalon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver-avalon.c b/driver-avalon.c index 82636e47..d10567eb 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -1613,7 +1613,6 @@ static void avalon_shutdown(struct thr_info *thr) avalon->works = NULL; free(avalon->device_data); avalon->device_data = NULL; - thr->cgpu = usb_free_cgpu(avalon); } static char *avalon_set_device(struct cgpu_info *avalon, char *option, char *setting, char *replybuf)