mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
use, then free (ITS#6027)
This commit is contained in:
parent
59c7d24d7f
commit
6627f34356
1 changed files with 1 additions and 1 deletions
|
|
@ -1080,10 +1080,10 @@ register_at( const char *def, AttributeDescription **rad, int dupok )
|
|||
freeit = 1;
|
||||
|
||||
} else {
|
||||
ldap_attributetype_free( at );
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"register_at: AttributeType \"%s\": %s, %s\n",
|
||||
def, scherr2str(code), err );
|
||||
ldap_attributetype_free( at );
|
||||
return code;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue