diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-22 20:36:18 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-22 20:36:18 +0200 |
commit | 90a497d5c876ad996339cfef3c7d89c08536383e (patch) | |
tree | 128090e7a3cea77a2123f964668ccdffd4414580 /pool.c | |
parent | 710925f4abfac57ad619ef4dfe62096a78efcd63 (diff) | |
download | pgfuse-90a497d5c876ad996339cfef3c7d89c08536383e.tar.gz pgfuse-90a497d5c876ad996339cfef3c7d89c08536383e.tar.bz2 |
forgot an unlock of mutex in db pool
Diffstat (limited to 'pool.c')
-rw-r--r-- | pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -155,6 +155,7 @@ int psql_pool_release( PgConnPool *pool, PGconn *conn ) } if( i < 0 ) { + (void)pthread_mutex_unlock( &pool->lock ); return -EINVAL; } |