mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 20:06:11 +08:00
rtems-bsd-mutex: Fix mtx_destroy()
This commit is contained in:
parent
652b024e94
commit
c5abeb5866
@ -196,7 +196,7 @@ rtems_bsd_mutex_destroy(struct lock_object *lock, rtems_bsd_mutex *m)
|
||||
rtems_bsd_mutex_unlock(m);
|
||||
}
|
||||
|
||||
_Thread_queue_Dequeue(&m->queue);
|
||||
_Thread_queue_Destroy(&m->queue);
|
||||
lock_destroy(lock);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user