projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26fb69
)
util: fix another mutex leak in mempool
author
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Jul 2010 12:56:48 +0000
(14:56 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Jul 2010 12:56:48 +0000
(14:56 +0200)
By fixing one, I introduced another. Crap.
src/gallium/auxiliary/util/u_mempool.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_mempool.c
b/src/gallium/auxiliary/util/u_mempool.c
index 6b1a72a7f6737af206a941fa4bd3189604bb3d7d..1f336b39a1a30407f83aae4def7dcfbe298d1d14 100644
(file)
--- 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);
}