Fix memory leaks. Add debug message when microarch is unknown

This commit is contained in:
Dr-Noob
2020-09-01 11:32:08 +02:00
parent de8952b4ea
commit 5cca6df218
7 changed files with 27 additions and 14 deletions

View File

@@ -51,7 +51,7 @@ void printBug(const char *fmt, ...) {
vsnprintf(buffer,buffer_size, fmt, args);
va_end(args);
fprintf(stderr,RED "[ERROR]: "RESET "%s\n",buffer);
fprintf(stderr,"Please, create a new issue with this error message and your CPU in https://github.com/Dr-Noob/cpufetch/issues\n");
fprintf(stderr,"Please, create a new issue with this error message and your CPU model in https://github.com/Dr-Noob/cpufetch/issues\n");
}
void set_log_level(bool verbose) {