mpick: fixed freeing pointer returned from getenv

pull/177/head
Julian Rother 4 years ago
parent 42bde7ac99
commit b899419062

@ -574,7 +574,8 @@ parse_string(char **s)
*pos = 0;
*s = getenv(e);
if (!*s)
*s = xstrdup("");
*s = "";
*s = xstrdup(*s);
*pos = t;
ws();
return 1;

Loading…
Cancel
Save