X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fapps.c;h=9bbf476245c8f783ebbfe723e82f4456a252f57d;hp=000157772f911123fa50d32dddbf270cce33e84f;hb=2c7bc88d785b40bd12a5080fc3d2ef9445460079;hpb=54f7ebe789e4dbd9f601452b5bb26432b9754a7b diff --git a/apps/apps.c b/apps/apps.c index 000157772f..9bbf476245 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -434,6 +434,14 @@ int setup_ui_method() UI_method_set_closer(ui_method, ui_close); return 0; } +void destroy_ui_method() + { + if(ui_method) + { + UI_destroy_method(ui_method); + ui_method = NULL; + } + } int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp) {