Loading lib/ldap.c +3 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ CURLcode Curl_ldap(struct connectdata *conn, bool *done) int rc = 0; LDAP *server; LDAPURLDesc *ludp = NULL; LDAPMessage *result; LDAPMessage *result = NULL; LDAPMessage *entryIterator; int num = 0; struct SessionHandle *data=conn->data; Loading Loading @@ -245,6 +245,8 @@ quit: LDAP_TRACE (("Received %d entries\n", num)); if (rc == LDAP_SIZELIMIT_EXCEEDED) infof(data, "There are more than %d entries\n", num); if (result) ldap_msgfree(result); if (ludp) ldap_free_urldesc(ludp); if (server) Loading Loading
lib/ldap.c +3 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ CURLcode Curl_ldap(struct connectdata *conn, bool *done) int rc = 0; LDAP *server; LDAPURLDesc *ludp = NULL; LDAPMessage *result; LDAPMessage *result = NULL; LDAPMessage *entryIterator; int num = 0; struct SessionHandle *data=conn->data; Loading Loading @@ -245,6 +245,8 @@ quit: LDAP_TRACE (("Received %d entries\n", num)); if (rc == LDAP_SIZELIMIT_EXCEEDED) infof(data, "There are more than %d entries\n", num); if (result) ldap_msgfree(result); if (ludp) ldap_free_urldesc(ludp); if (server) Loading