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