mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Don't leak syntax oid macro in case of duplicate attribute (ITS#5683)
This commit is contained in:
parent
dae38c56cd
commit
1355e605d5
1 changed files with 5 additions and 0 deletions
|
|
@ -939,6 +939,11 @@ error_return:;
|
|||
at->at_oid = oidm;
|
||||
}
|
||||
|
||||
if ( soidm ) {
|
||||
SLAP_FREE( at->at_syntax_oid );
|
||||
at->at_syntax_oid = soidm;
|
||||
}
|
||||
|
||||
} else if ( rsat ) {
|
||||
*rsat = sat;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue