mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
Merge branch 'its10449' into 'master'
ITS#10449 slapd controls.c parseReadAttrs: plug leak on failure See merge request openldap/openldap!832
This commit is contained in:
commit
ab7781425b
1 changed files with 3 additions and 0 deletions
|
|
@ -1571,9 +1571,12 @@ parseReadAttrs(
|
|||
? SLAP_CONTROL_CRITICAL
|
||||
: SLAP_CONTROL_NONCRITICAL;
|
||||
}
|
||||
an = NULL;
|
||||
|
||||
done:
|
||||
(void) ber_free( ber, 1 );
|
||||
if ( an )
|
||||
ber_memfree( an );
|
||||
return rs->sr_err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue