mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
Plug ldap fd leak in login checks
This commit is contained in:
1 parent
9dded7c86c
commit
9e38c5060a
1 file changed
+3
-3
@@ -570,14 +570,14 @@ static Class NSStringK;
|
||||
grace: _grace];
|
||||
}
|
||||
}
|
||||
[bindConnection release];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
[self logWithFormat: @"%@", localException];
|
||||
}
|
||||
NS_ENDHANDLER;
|
||||
|
||||
|
||||
[bindConnection release];
|
||||
return didBind;
|
||||
}
|
||||
|
||||
@@ -675,7 +675,6 @@ static Class NSStringK;
|
||||
perr: (void *)perr];
|
||||
}
|
||||
}
|
||||
[bindConnection release];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
@@ -683,6 +682,7 @@ static Class NSStringK;
|
||||
}
|
||||
NS_ENDHANDLER ;
|
||||
|
||||
[bindConnection release];
|
||||
return didChange;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user