]> git.sur5r.net Git - openldap/commitdiff
entry_schema_check - NULL out *text when returning Success
authorHoward Chu <hyc@openldap.org>
Tue, 15 Mar 2005 08:29:42 +0000 (08:29 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 15 Mar 2005 08:29:42 +0000 (08:29 +0000)
servers/slapd/schema_check.c

index d76593475873fb1d3815261825f904dc93bae520..0cc2b886ed6c90c8dcc05a32d933dd389be5e77e 100644 (file)
@@ -424,6 +424,7 @@ entry_schema_check(
        }
 
        if( extensible ) {
+               *text = NULL;
                return LDAP_SUCCESS;
        }
 
@@ -471,6 +472,7 @@ entry_schema_check(
                }
        }
 
+       *text = NULL;
        return LDAP_SUCCESS;
 }