mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-24 00:33:29 +01:00
Performs memset after checking if the malloc was successful. Safer, avoids segfault on (unlikely) unsuccessful malloc, and allows the error printing to occur.