diff options
author | Marek Olšák <[email protected]> | 2010-07-26 14:56:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-26 14:56:48 +0200 |
commit | a3a42e46965221b8f8249f0f1076fc3544b68d0e (patch) | |
tree | ca6f125e0955bb8a1897799632880fedbe2eeaba /src/gallium/auxiliary/util/u_mempool.c | |
parent | d26fb6916931f10e029429ecbf46e86484e7e956 (diff) |
util: fix another mutex leak in mempool
By fixing one, I introduced another. Crap.
Diffstat (limited to 'src/gallium/auxiliary/util/u_mempool.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_mempool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_mempool.c b/src/gallium/auxiliary/util/u_mempool.c index 6b1a72a7f67..1f336b39a1a 100644 --- a/src/gallium/auxiliary/util/u_mempool.c +++ b/src/gallium/auxiliary/util/u_mempool.c @@ -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); } |