Bugfix: nanofury: Avoid NULL pointer dereference on init failure
Bugfix: free memory allocated for config file loading/writing
Bugfix: modminer: Avoid leaking devname when detecting claimed devices
Bugfix: minergate: Avoid malloc(0) if stats file has too few values
Bugfix: bytes_free: Set buf to NULL so the bytes_t is reusable
Merge commit '0c89803' into bfgminer-4.7.x
Merge commit '9575a95' into bfgminer-4.7.x
Merge branch 'minergate' into bfgminer-4.7.x
Merge commit '5b9ab72' into bfgminer-4.7.x