Commit 14393732 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

remove dangling text pointer in case of success

parent eb0421c4
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment