mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
remove dangling text pointer in case of success
This commit is contained in:
parent
eb0421c471
commit
143937320b
2 changed files with 4 additions and 0 deletions
|
|
@ -583,6 +583,8 @@ slap_mods2entry(
|
|||
tail = &attr->a_next;
|
||||
}
|
||||
|
||||
*text = NULL;
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -684,6 +684,8 @@ int structural_class(
|
|||
return LDAP_OBJECT_CLASS_VIOLATION;
|
||||
}
|
||||
|
||||
*text = NULL;
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue