mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-05-28 13:29:50 +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.