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:
patacongo 2007-03-16 21:29:34 +00:00
parent 4a7d216084
commit d46387cc8b

View file

@ -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