mirror of
https://gittea.dev/nova/th.git
synced 2026-01-30 16:50:10 -05:00
-fsanitize=address related compiler assisted debugging
This commit is contained in:
@@ -33,6 +33,7 @@ char* get_mimetype(char *path){
|
||||
FILE *cmd_open = popen(cmd, "r");
|
||||
char *line = NULL;
|
||||
size_t size = 0;
|
||||
free(cmd);
|
||||
if (getline(&line, &size, cmd_open) != -1){
|
||||
pclose(cmd_open);
|
||||
return line;
|
||||
|
||||
Reference in New Issue
Block a user