The memory allocated with strdup and asprintf is done via lib_malloc so we need to use lib_free to deallocate memory otherwise the assertion "Free memory from the wrong heap" is hit with flat mode and user separated heap enabled mode. Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| env_clearenv.c | ||
| env_dup.c | ||
| env_findvar.c | ||
| env_foreach.c | ||
| env_getenv.c | ||
| env_getenvironptr.c | ||
| env_putenv.c | ||
| env_release.c | ||
| env_removevar.c | ||
| env_setenv.c | ||
| env_unsetenv.c | ||
| environ.h | ||
| Make.defs | ||