mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix saslregex init bug
This commit is contained in:
parent
7bc35541e4
commit
e69c9067c2
@ -199,6 +199,8 @@ int slap_sasl_regexp_config( const char *match, const char *replace )
|
||||
SaslRegexp = (SaslRegexp_t *) ch_realloc( (char *) SaslRegexp,
|
||||
(nSaslRegexp + 1) * sizeof(SaslRegexp_t) );
|
||||
|
||||
reg = &SaslRegexp[nSaslRegexp];
|
||||
|
||||
reg->sr_match = ch_strdup( match );
|
||||
reg->sr_replace = ch_strdup( replace );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user