Skip to content
Snippets Groups Projects
Commit e69c9067 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix saslregex init bug

parent 7bc35541
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment