Plug memleak in slap_parseURI

This commit is contained in:
Howard Chu 2003-09-20 05:55:48 +00:00
parent f2c3ba16d6
commit bb13266a15

View File

@ -115,7 +115,8 @@ is_dn: bv.bv_len = uri->bv_len - (bv.bv_val - uri->bv_val);
{
/* host part must be empty */
/* attrs and extensions parts must be empty */
return LDAP_PROTOCOL_ERROR;
rc = LDAP_PROTOCOL_ERROR;
goto done;
}
/* Grab the scope */