diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index 5335b59c48..0d3a960052 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
@@ -328,14 +328,10 @@ UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, | |||
328 | result_buf); | 328 | result_buf); |
329 | 329 | ||
330 | err: | 330 | err: |
331 | if (prompt_copy) | 331 | free(prompt_copy); |
332 | free(prompt_copy); | 332 | free(action_desc_copy); |
333 | if (action_desc_copy) | 333 | free(ok_chars_copy); |
334 | free(action_desc_copy); | 334 | free(cancel_chars_copy); |
335 | if (ok_chars_copy) | ||
336 | free(ok_chars_copy); | ||
337 | if (cancel_chars_copy) | ||
338 | free(cancel_chars_copy); | ||
339 | return -1; | 335 | return -1; |
340 | } | 336 | } |
341 | 337 | ||