util: fix another mutex leak in mempool
By fixing one, I introduced another. Crap.
This commit is contained in:
parent
d26fb69169
commit
a3a42e4696
|
@ -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…
Reference in New Issue