Skip to content
Snippets Groups Projects
Commit d46387cc authored by patacongo's avatar patacongo
Browse files

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
parent 4a7d2160
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment