mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
ITS#8743 Initialise the metafilter we allocate
This commit is contained in:
parent
7ca538ff87
commit
5957cbb660
1 changed files with 1 additions and 1 deletions
|
|
@ -2220,7 +2220,7 @@ meta_back_cf_gen( ConfigArgs *c )
|
|||
|
||||
case LDAP_BACK_CFG_FILTER: {
|
||||
metafilter_t *mf, **m2;
|
||||
mf = ch_malloc( sizeof( metafilter_t ));
|
||||
mf = ch_calloc( 1, sizeof( metafilter_t ));
|
||||
rc = regcomp( &mf->mf_regex, c->argv[1], REG_EXTENDED );
|
||||
if ( rc ) {
|
||||
char regerr[ SLAP_TEXT_BUFLEN ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue