LDAP connection leak

Description

I've detected an LDAP connection leak in the code. Here is the patch.
This was leaking all my LDAP connection until my users couldn't connect to CAS anymore.

Here is the pull requests : https://github.com/Jasig/cas/pull/394 and https://github.com/Jasig/cas/pull/395

Environment

None

Status

Assignee

Marvin Addison

Reporter

Anthony O.

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Affects versions

4.0 RC3

Priority

Major