diff options
Diffstat (limited to 'nuttx/sched/sem_unlink.c')
-rw-r--r-- | nuttx/sched/sem_unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sem_unlink.c b/nuttx/sched/sem_unlink.c index 6fe011540..0ee262c79 100644 --- a/nuttx/sched/sem_unlink.c +++ b/nuttx/sched/sem_unlink.c @@ -118,7 +118,7 @@ int sem_unlink(FAR const char *name) if (!psem->nconnect) { dq_rem((FAR dq_entry_t*)psem, &g_nsems); - sched_free(psem); + sched_kfree(psem); } /* If one or more process still has the semaphore open, |