incubator-nuttx/sched/environ
Petro Karashchenko 1b0baa8337 nuttx: use lib_free for memory de-allocation after strdup or asprintf
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>
2023-08-08 11:58:29 -03:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Make.defs
env_clearenv.c
env_dup.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_findvar.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_foreach.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_getenv.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_getenvironptr.c
env_putenv.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
env_release.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_removevar.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_setenv.c Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
env_unsetenv.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
environ.h sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00