util: fix another mutex leak in mempool

By fixing one, I introduced another. Crap.
This commit is contained in:
Marek Olšák 2010-07-26 14:56:48 +02:00
parent d26fb69169
commit a3a42e4696
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}