mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-14 08:13:10 -05:00
plug leak when presence filter with undef attr (ITS#6635)
This commit is contained in:
parent
eb11ba008c
commit
9146659c6c
1 changed files with 2 additions and 0 deletions
|
|
@ -521,6 +521,8 @@ filter_free_x( Operation *op, Filter *f, int freeme )
|
|||
|
||||
switch ( f->f_choice ) {
|
||||
case LDAP_FILTER_PRESENT:
|
||||
if ( f->f_desc->ad_flags & SLAP_DESC_TEMPORARY )
|
||||
op->o_tmpfree( f->f_desc, op->o_tmpmemctx );
|
||||
break;
|
||||
|
||||
case LDAP_FILTER_EQUALITY:
|
||||
|
|
|
|||
Loading…
Reference in a new issue