Skip to content
Snippets Groups Projects
Commit 14393732 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

remove dangling text pointer in case of success

parent eb0421c4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
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