mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#6972 fix double-free in autogroup
This commit is contained in:
parent
b68fa5ecd7
commit
3a096b300c
1 changed files with 2 additions and 1 deletions
|
|
@ -630,11 +630,12 @@ autogroup_add_group( Operation *op, autogroup_info_t *agi, autogroup_def_t *agd,
|
|||
}
|
||||
|
||||
if ( i > 1 ) {
|
||||
Debug( LDAP_DEBUG_ANY, "autogroup_add_group: to much attributes specified in url <%s>\n",
|
||||
Debug( LDAP_DEBUG_ANY, "autogroup_add_group: too many attributes specified in url <%s>\n",
|
||||
bv->bv_val, 0, 0);
|
||||
/* FIXME: error? */
|
||||
ldap_free_urldesc( lud );
|
||||
ch_free( agf );
|
||||
continue;
|
||||
}
|
||||
|
||||
agf->agf_anlist = str2anlist( NULL, lud->lud_attrs[0], "," );
|
||||
|
|
|
|||
Loading…
Reference in a new issue