mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-18 05:42:16 +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.