mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Bug fix: Cannot call free from null task (it might need to wait). Call sched_free instead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@70 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user