mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 16:00:13 +01:00
[FreeBSD] Forgot to call mtx_destroy on all the locks at unload.
This commit is contained in:
parent
93c57ff4e5
commit
ec3d996021
1 changed files with 3 additions and 0 deletions
|
|
@ -655,6 +655,9 @@ static void drm_unload(struct drm_device *dev)
|
|||
|
||||
drm_mem_uninit();
|
||||
#if defined(__FreeBSD__) && __FreeBSD_version >= 500000
|
||||
mtx_destroy(&dev->drw_lock);
|
||||
mtx_destroy(&dev->irq_lock);
|
||||
mtx_destroy(&dev->vbl_lock);
|
||||
mtx_destroy(&dev->dev_lock);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue