diff options
Diffstat (limited to 'lib/libssl/src/apps/passwd.c')
-rw-r--r-- | lib/libssl/src/apps/passwd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libssl/src/apps/passwd.c b/lib/libssl/src/apps/passwd.c index e87aed38e73..e9d0949d743 100644 --- a/lib/libssl/src/apps/passwd.c +++ b/lib/libssl/src/apps/passwd.c @@ -245,10 +245,8 @@ passwd_main(int argc, char **argv) err: ERR_print_errors(bio_err); - if (salt_malloc) - free(salt_malloc); - if (passwd_malloc) - free(passwd_malloc); + free(salt_malloc); + free(passwd_malloc); if (in) BIO_free(in); if (out) |