forked from poz/modfetch
prevent 4KB memory leak
This commit is contained in:
parent
d363f9defc
commit
85eb489d7c
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ char *resolve_env_vars(const char *str) {
|
||||||
++ret_offset;
|
++ret_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(env_var);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue