mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
minor schema parsing cleanup
This commit is contained in:
parent
5d83746abf
commit
f4781b1527
@ -448,6 +448,7 @@ init_config_attrs(ConfigTable *ct) {
|
||||
freeit = 1;
|
||||
|
||||
} else {
|
||||
ldap_attributetype_free( at );
|
||||
fprintf( stderr, "init_config_attrs: AttributeType \"%s\": %s, %s\n",
|
||||
ct[i].attribute, scherr2str(code), err );
|
||||
return code;
|
||||
|
@ -1207,6 +1207,7 @@ slap_schema_load( void )
|
||||
|
||||
code = at_add( at, 0, NULL, &err );
|
||||
if ( code ) {
|
||||
ldap_attributetype_free( at );
|
||||
fprintf( stderr, "slap_schema_load: AttributeType "
|
||||
"\"%s\": %s: \"%s\"\n",
|
||||
ad_map[i].ssam_name, scherr2str(code), err );
|
||||
|
@ -280,6 +280,7 @@ parse_at(
|
||||
|
||||
code = at_add(at,1,sat,&err);
|
||||
if ( code ) {
|
||||
ldap_attributetype_free( at );
|
||||
fprintf( stderr, "%s: line %d: %s: \"%s\"\n",
|
||||
fname, lineno, scherr2str(code), err);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user