Skip to content
Snippets Groups Projects
Commit bb13266a authored by Howard Chu's avatar Howard Chu
Browse files

Plug memleak in slap_parseURI

parent f2c3ba16
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment