diff options
Diffstat (limited to 'nuttx/arch/x86/src/i486/up_releasestack.c')
-rw-r--r-- | nuttx/arch/x86/src/i486/up_releasestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/x86/src/i486/up_releasestack.c b/nuttx/arch/x86/src/i486/up_releasestack.c index 47b3ea994..38a2dbfe8 100644 --- a/nuttx/arch/x86/src/i486/up_releasestack.c +++ b/nuttx/arch/x86/src/i486/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; } |