void UI_free(UI *ui)
{
+ if (ui == NULL)
+ return;
sk_UI_STRING_pop_free(ui->strings,free_string);
OPENSSL_free(ui);
}
}
}
- return general_allocate_string(ui, prompt, 1,
+ return general_allocate_string(ui, prompt_copy, 1,
UIT_PROMPT, flags, result_buf, minsize, maxsize, NULL);
}
}
}
- return general_allocate_string(ui, prompt, 1,
+ return general_allocate_string(ui, prompt_copy, 1,
UIT_VERIFY, flags, result_buf, minsize, maxsize, test_buf);
}
}
}
- return general_allocate_string(ui, text, 1, UIT_INFO, 0, NULL, 0, 0,
+ return general_allocate_string(ui, text_copy, 1, UIT_INFO, 0, NULL, 0, 0,
NULL);
}