summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/lib/lib_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c
index 0527f921b..dc0643144 100644
--- a/nuttx/lib/lib_init.c
+++ b/nuttx/lib/lib_init.c
@@ -207,7 +207,7 @@ void lib_releaselist(FAR struct streamlist *list)
/* Release the IO buffer */
if (&list->sl_streams[i].fs_bufstart)
{
- free(list->sl_streams[i].fs_bufstart);
+ sched_free(list->sl_streams[i].fs_bufstart);
}
}
#endif