From 9ae4ef49cd2a44032c6c385151f35fc62a97e81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 10 Jul 2019 13:48:55 +0200 Subject: Remove string_free_erase --- src/reply-password/reply-password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reply-password') 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) -- cgit v1.2.1