summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/util/u_mempool.c3
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 6b1a72a7f6..1f336b39a1 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);
}