mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
nv50,nvc0: make sure to destroy the mutex used for blits
This mutex is initialized when the blitter is created, but it is never destroyed. This doesn't hurt anything but it makes sense to destroy it at blitter deletion. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
3146014d5f
commit
752769e053
2 changed files with 2 additions and 0 deletions
|
|
@ -1756,6 +1756,7 @@ nv50_blitter_destroy(struct nv50_screen *screen)
|
|||
}
|
||||
}
|
||||
|
||||
pipe_mutex_destroy(blitter->mutex);
|
||||
FREE(blitter);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1644,6 +1644,7 @@ nvc0_blitter_destroy(struct nvc0_screen *screen)
|
|||
}
|
||||
}
|
||||
|
||||
pipe_mutex_destroy(blitter->mutex);
|
||||
FREE(blitter);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue