[rtems-libbsd commit] rtems-bsd-mutex: Fix mtx_destroy()

Sebastian Huber sebh at rtems.org
Wed Apr 6 12:56:17 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    c5abeb5866e201a748fd675937480e3f57269dd7
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c5abeb5866e201a748fd675937480e3f57269dd7

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr  6 14:54:32 2016 +0200

rtems-bsd-mutex: Fix mtx_destroy()

---

 rtemsbsd/include/machine/rtems-bsd-muteximpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtemsbsd/include/machine/rtems-bsd-muteximpl.h b/rtemsbsd/include/machine/rtems-bsd-muteximpl.h
index 3fd5cfb..98e9974 100644
--- a/rtemsbsd/include/machine/rtems-bsd-muteximpl.h
+++ b/rtemsbsd/include/machine/rtems-bsd-muteximpl.h
@@ -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);
 }
 




More information about the vc mailing list