Fix warning with DEBUG_SAFESTACK

This commit is contained in:
Dr. Stephen Henson 2001-05-10 00:09:43 +00:00
parent 016cadfb54
commit d6f188be71

View File

@ -92,9 +92,8 @@ UI *UI_new_method(const UI_METHOD *method)
return ret;
}
static void free_string(void *data)
static void free_string(UI_STRING *uis)
{
UI_STRING *uis = (UI_STRING *)data;
if (uis->flags & OUT_STRING_FREEABLE)
OPENSSL_free((char *)uis->out_string);
OPENSSL_free(uis);