Duplicate language tag to avoid double free

This commit is contained in:
Kurt Zeilenga 2000-06-16 16:05:37 +00:00
parent 3ece90666f
commit 09e087c8e5

View File

@ -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 );