Fix crash when no-op control is used (ITS#5358)

This commit is contained in:
Ralf Haferkamp 2008-02-07 12:06:24 +00:00
parent 4db84db74b
commit a1612ae911

View File

@ -739,6 +739,8 @@ retry: /* transaction retry */
} else {
rs->sr_err = LDAP_X_NO_OPERATION;
ltid = NULL;
/* Only free attrs if they were dup'd. */
if ( dummy.e_attrs == e->e_attrs ) dummy.e_attrs = NULL;
goto return_results;
}