diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-16 21:29:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-16 21:29:34 +0000 |
commit | 30e71160a9795e9a11c54bc011d609cfb879186c (patch) | |
tree | 5da6ef3a16f0c48a8ad5290db0a768011d2801c7 /nuttx/lib | |
parent | ea4c23ad866e7a548c9e8c086a573c7109e02c87 (diff) | |
download | px4-nuttx-30e71160a9795e9a11c54bc011d609cfb879186c.tar.gz px4-nuttx-30e71160a9795e9a11c54bc011d609cfb879186c.tar.bz2 px4-nuttx-30e71160a9795e9a11c54bc011d609cfb879186c.zip |
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
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/lib_init.c | 2 |
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 |