mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
util: fix another mutex leak in mempool
By fixing one, I introduced another. Crap.
This commit is contained in:
parent
d26fb69169
commit
a3a42e4696
1 changed files with 1 additions and 2 deletions
|
|
@ -165,6 +165,5 @@ void util_mempool_destroy(struct util_mempool *pool)
|
|||
FREE(page);
|
||||
}
|
||||
|
||||
if (pool->threading)
|
||||
pipe_mutex_destroy(pool->mutex);
|
||||
pipe_mutex_destroy(pool->mutex);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue