summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src/common/up_releasestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z16/src/common/up_releasestack.c')
-rw-r--r--nuttx/arch/z16/src/common/up_releasestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/z16/src/common/up_releasestack.c b/nuttx/arch/z16/src/common/up_releasestack.c
index 82ba1b122..f66186925 100644
--- a/nuttx/arch/z16/src/common/up_releasestack.c
+++ b/nuttx/arch/z16/src/common/up_releasestack.c
@@ -71,7 +71,7 @@ void up_release_stack(struct tcb_s *dtcb)
{
if (dtcb->stack_alloc_ptr)
{
- sched_free(dtcb->stack_alloc_ptr);
+ sched_ufree(dtcb->stack_alloc_ptr);
dtcb->stack_alloc_ptr = NULL;
}