nuttx/fs/driver
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 fs: add pipe type support to inode 2023-08-05 06:32:50 -07:00
driver.h fs/partition: register partition device if caller doesn't provide handler 2023-05-27 20:23:17 -03:00
fs_blockpartition.c fs/partition: register partition device if caller doesn't provide handler 2023-05-27 20:23:17 -03:00
fs_blockproxy.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
fs_closeblockdriver.c
fs_closemtddriver.c
fs_findblockdriver.c
fs_findmtddriver.c
fs_mtdpartition.c fs/partition: register partition device if caller doesn't provide handler 2023-05-27 20:23:17 -03:00
fs_mtdproxy.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
fs_openblockdriver.c
fs_registerblockdriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_registerdriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_registermtddriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_registerpipedriver.c fs: add pipe type support to inode 2023-08-05 06:32:50 -07:00
fs_unregisterblockdriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_unregisterdriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_unregistermtddriver.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_unregisterpipedriver.c fs: add pipe type support to inode 2023-08-05 06:32:50 -07:00
Make.defs fs: add pipe type support to inode 2023-08-05 06:32:50 -07:00