diff options
author | Colin Watson <cjwatson@debian.org> | 2013-09-14 15:43:03 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2013-09-14 15:43:03 +0100 |
commit | 8faf8c84430cf3c19705b1d9f8889d256e7fd1fd (patch) | |
tree | e6cb74192adb00fda5e4d1457547851d7e0d86af /readpass.c | |
parent | 328b60656f29db6306994d7498dede386ec2d1c3 (diff) | |
parent | c41345ad7ee5a22689e2c009595e85fa27b4b39a (diff) |
merge 6.3p1
Diffstat (limited to 'readpass.c')
-rw-r--r-- | readpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readpass.c b/readpass.c index 599c8ef9a..e37d31158 100644 --- a/readpass.c +++ b/readpass.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readpass.c,v 1.48 2010/12/15 00:49:27 djm Exp $ */ | 1 | /* $OpenBSD: readpass.c,v 1.49 2013/05/17 00:13:14 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -186,7 +186,7 @@ ask_permission(const char *fmt, ...) | |||
186 | if (*p == '\0' || *p == '\n' || | 186 | if (*p == '\0' || *p == '\n' || |
187 | strcasecmp(p, "yes") == 0) | 187 | strcasecmp(p, "yes") == 0) |
188 | allowed = 1; | 188 | allowed = 1; |
189 | xfree(p); | 189 | free(p); |
190 | } | 190 | } |
191 | 191 | ||
192 | return (allowed); | 192 | return (allowed); |