summaryrefslogtreecommitdiff
path: root/pool.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-22 20:36:18 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-22 20:36:18 +0200
commit90a497d5c876ad996339cfef3c7d89c08536383e (patch)
tree128090e7a3cea77a2123f964668ccdffd4414580 /pool.c
parent710925f4abfac57ad619ef4dfe62096a78efcd63 (diff)
downloadpgfuse-90a497d5c876ad996339cfef3c7d89c08536383e.tar.gz
pgfuse-90a497d5c876ad996339cfef3c7d89c08536383e.tar.bz2
forgot an unlock of mutex in db pool
Diffstat (limited to 'pool.c')
-rw-r--r--pool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pool.c b/pool.c
index 4c9d329..edc2827 100644
--- a/pool.c
+++ b/pool.c
@@ -155,6 +155,7 @@ int psql_pool_release( PgConnPool *pool, PGconn *conn )
}
if( i < 0 ) {
+ (void)pthread_mutex_unlock( &pool->lock );
return -EINVAL;
}