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:
Howard Chu 2026-02-10 22:03:22 +00:00
commit ab7781425b

View file

@ -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;
}