Init smods to prevent crash if encode_keys fails

This commit is contained in:
Jakub Hrozek 2010-11-26 11:15:19 +01:00 committed by Rob Crittenden
parent 58bcb5e7f9
commit df28017eaf

View File

@ -1092,7 +1092,7 @@ int ipapwd_SetPassword(struct ipapwd_krbcfg *krbcfg,
struct ipapwd_data *data, int is_krb)
{
int ret = 0;
Slapi_Mods *smods;
Slapi_Mods *smods = NULL;
Slapi_Value **svals = NULL;
Slapi_Value **pwvals = NULL;
struct tm utctime;