summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-19 14:23:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-19 14:23:58 +0000
commit9dafe65f2e76b219ce5c1ad6fb635b623de4f736 (patch)
treed958ae02008e1e3518c402bf6c6b534984a62b3b /nuttx/sched
parente3191e3a5cd235a6ed0cab05960553e62ee036ac (diff)
downloadpx4-nuttx-9dafe65f2e76b219ce5c1ad6fb635b623de4f736.tar.gz
px4-nuttx-9dafe65f2e76b219ce5c1ad6fb635b623de4f736.tar.bz2
px4-nuttx-9dafe65f2e76b219ce5c1ad6fb635b623de4f736.zip
Should call free(), not sched_free() in this context
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@91 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/os_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 935eef66d..f360a1991 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -442,7 +442,7 @@ void os_start(void)
if (address)
{
- sched_free(address);
+ free(address);
}
}
mm_givesemaphore();