Browse Source

Merge commit '83f83d2cb' into bfgminer

Luke Dashjr 5 years ago
parent
commit
8e0278adbe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -11954,8 +11954,10 @@ void _bfg_clean_up(bool restarting)
 			print_summary();
 	}
 
+#ifdef USE_CPUMINING
 	if (opt_n_threads > 0)
 		free(cpus);
+#endif
 
 	curl_global_cleanup();