summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_open.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-10 15:32:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-10 15:32:33 +0000
commit8e0c015c2120bf7d76a0c41d1160a745c3565a50 (patch)
tree60de505ed836f8805b07ead45c2fe36cfc15be6a /nuttx/sched/mq_open.c
parentdda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5 (diff)
downloadpx4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.tar.gz
px4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.tar.bz2
px4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.zip
Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_open.c')
-rw-r--r--nuttx/sched/mq_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/mq_open.c b/nuttx/sched/mq_open.c
index 64c8389b1..7a4e39010 100644
--- a/nuttx/sched/mq_open.c
+++ b/nuttx/sched/mq_open.c
@@ -215,7 +215,7 @@ mqd_t mq_open(const char *mq_name, int oflags, ...)
* uninitialized, mq_deallocate() is not used.
*/
- sched_free(msgq);
+ sched_kfree(msgq);
}
}
}