From 8e0c015c2120bf7d76a0c41d1160a745c3565a50 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 10 Mar 2013 15:32:33 +0000 Subject: 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 --- nuttx/sched/pthread_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/sched/pthread_create.c') diff --git a/nuttx/sched/pthread_create.c b/nuttx/sched/pthread_create.c index ce19941fc..346f51411 100644 --- a/nuttx/sched/pthread_create.c +++ b/nuttx/sched/pthread_create.c @@ -441,7 +441,7 @@ int pthread_create(FAR pthread_t *thread, FAR pthread_attr_t *attr, return ret; errout_with_join: - sched_free(pjoin); + sched_kfree(pjoin); ptcb->joininfo = NULL; errout_with_tcb: -- cgit v1.2.3