From fc5ee2d382d560d2cae5cc19370e3d9c9db4019f Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 19 May 2014 09:31:02 +0000 Subject: [PATCH] fix return without unlocking git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@37893 72102866-910b-0410-8b05-ffd578937521 --- SQLClient.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SQLClient.m b/SQLClient.m index cc57e56..a105157 100644 --- a/SQLClient.m +++ b/SQLClient.m @@ -2284,10 +2284,11 @@ static unsigned int maxConnections = 8; } else { - [self debug: @"unable to load backend class for '%@' server type" - @" ... dynamic library load failed in %@", s, tried]; + [self debug: @"unable to load backend class for '%@' server" + @" type ... dynamic library load failed in %@", s, tried]; } - return; + [lock unlock]; + NS_VOIDRETURN; } } if (c != [self class])