summaryrefslogtreecommitdiff
path: root/src/certtool-cfg.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-03 22:29:21 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-03 22:29:21 +0200
commit2d2b4693689d5f3b858e2d983c428f2e4a24d364 (patch)
treefe1557c51142e9ab149a44a2cca32ec24d7d2f64 /src/certtool-cfg.c
parent6ab3a57a4af0a0e64f4afe2794682128d108ff34 (diff)
downloadgnutls-2d2b4693689d5f3b858e2d983c428f2e4a24d364.tar.gz
Fix syntax-check warnings.
Diffstat (limited to 'src/certtool-cfg.c')
-rw-r--r--src/certtool-cfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c
index 074a0cc058..920dca94f9 100644
--- a/src/certtool-cfg.c
+++ b/src/certtool-cfg.c
@@ -340,8 +340,7 @@ get_confirmed_pass (bool empty_ok)
if (pass)
printf ("Password missmatch, try again.\n");
- if (copy)
- free (copy);
+ free (copy);
pass = getpass ("Enter password: ");
copy = strdup (pass);