Commit 09e087c8 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Duplicate language tag to avoid double free

parent 3ece9066
......@@ -149,7 +149,7 @@ int slap_bv2ad(
goto done;
}
desc.ad_lang = tokens[i];
desc.ad_lang = ch_strdup( tokens[i] );
/* normalize to all lower case, it's easy */
ldap_pvt_str2lower( desc.ad_lang );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment