prevent 4KB memory leak

This commit is contained in:
jacekpoz 2024-02-09 12:23:17 +01:00
parent d363f9defc
commit 85eb489d7c
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -107,6 +107,8 @@ char *resolve_env_vars(const char *str) {
++ret_offset; ++ret_offset;
} }
free(env_var);
return ret; return ret;
} }