vgem_fence_open() instantiates a mutex for a particular fence
instance, but never destroys it by calling mutex_destroy() in
vgem_fence_close().
So, add the missing mutex_destroy() to guarantee proper resource
destruction.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vgem_drv.c | ||
| vgem_drv.h | ||
| vgem_fence.c | ||