Commit a64febc5 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9147 plug descriptor leak if ldaps connect fails

parent ea3194a6
...@@ -476,6 +476,7 @@ ldap_int_open_connection( ...@@ -476,6 +476,7 @@ ldap_int_open_connection(
} }
LDAP_MUTEX_UNLOCK( &lo->ldo_mutex ); LDAP_MUTEX_UNLOCK( &lo->ldo_mutex );
} }
ber_int_sb_close( conn->lconn_sb );
return -1; return -1;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment