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:
parent
4a7d216084
commit
d46387cc8b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue