remove dangling text pointer in case of success

This commit is contained in:
Pierangelo Masarati 2005-01-17 21:06:49 +00:00
parent eb0421c471
commit 143937320b
2 changed files with 4 additions and 0 deletions

View File

@ -583,6 +583,8 @@ slap_mods2entry(
tail = &attr->a_next;
}
*text = NULL;
return LDAP_SUCCESS;
}

View File

@ -684,6 +684,8 @@ int structural_class(
return LDAP_OBJECT_CLASS_VIOLATION;
}
*text = NULL;
return LDAP_SUCCESS;
}