summaryrefslogtreecommitdiff
path: root/src/reply-password
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-10 13:48:55 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-10 13:48:55 +0200
commit9ae4ef49cd2a44032c6c385151f35fc62a97e81d (patch)
tree1d83cee2e244433c602e450c4fb5b7b9db591e71 /src/reply-password
parentc7dd2095269923915b872b31404579e31da36012 (diff)
downloadsystemd-9ae4ef49cd2a44032c6c385151f35fc62a97e81d.tar.gz
Remove string_free_erase
Diffstat (limited to 'src/reply-password')
-rw-r--r--src/reply-password/reply-password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c
index 455788a184..1a8a9a6d62 100644
--- a/src/reply-password/reply-password.c
+++ b/src/reply-password/reply-password.c
@@ -47,7 +47,7 @@ static int run(int argc, char *argv[]) {
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Wrong number of arguments.");
if (streq(argv[1], "1")) {
- _cleanup_string_free_erase_ char *line = NULL;
+ _cleanup_(erase_and_freep) char *line = NULL;
r = read_line(stdin, LONG_LINE_MAX, &line);
if (r < 0)