mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
import fix memory leak from HEAD (ITS#3669)
This commit is contained in:
parent
7553b49971
commit
f5bfd3418a
3
CHANGES
3
CHANGES
@ -1,7 +1,8 @@
|
||||
OpenLDAP 2.2 Change Log
|
||||
|
||||
OpenLDAP 2.2.24 Engineering
|
||||
OpenLDAP 2.2.25 Engineering
|
||||
Fixed back-bdb ctxcsn/LRU bug (ITS#3666)
|
||||
Fixed back-meta memory leak (ITS#3669)
|
||||
|
||||
OpenLDAP 2.2.24 Release
|
||||
Fixed slapd "chldren:" typo (ITS#3560)
|
||||
|
@ -727,6 +727,9 @@ meta_send_entry(
|
||||
attr = ent.e_attrs;
|
||||
ent.e_attrs = attr->a_next;
|
||||
if ( attr->a_vals != &dummy ) {
|
||||
if ( attr->a_nvals != attr->a_vals ) {
|
||||
ber_bvarray_free( attr->a_nvals );
|
||||
}
|
||||
ber_bvarray_free( attr->a_vals );
|
||||
}
|
||||
free( attr );
|
||||
|
Loading…
Reference in New Issue
Block a user