incubator-nuttx/fs/hostfs
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
Kconfig hosfs_rpmsg: merge hostfs_rpmsg to rpmsgfs 2021-12-04 01:04:18 -06:00
Make.defs hosfs_rpmsg: merge hostfs_rpmsg to rpmsgfs 2021-12-04 01:04:18 -06:00
hostfs.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
hostfs.h Call nxsem_destroy or nxmutex_destry in the error path 2022-10-30 13:56:52 +01:00