Abusive use of _strdup in confparse/util.c
String was also strdup into erase_(delim|sec)_content
This commit is contained in:
parent
7908d3075c
commit
b31d54b7e6
@ -175,8 +175,8 @@ cfg_set_sauv(char *str)
|
||||
return;
|
||||
}
|
||||
|
||||
sauv_delimc = erase_delim_content(_strdup(str));
|
||||
sauv_secc = erase_sec_content(_strdup(str));
|
||||
sauv_delimc = erase_delim_content(str);
|
||||
sauv_secc = erase_sec_content(str);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user