chiark / gitweb /
tty-ask-password-agent: free passwords
authorLukas Nykryn <lnykryn@redhat.com>
Wed, 10 Apr 2013 10:54:00 +0000 (12:54 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Apr 2013 22:59:42 +0000 (18:59 -0400)
src/tty-ask-password-agent/tty-ask-password-agent.c

index 3f5706ee3cd32deebee36ba835c233ccb6ca3d5a..1f55e3229ba350b2870b7f20180c03e10ca3f0be 100644 (file)
@@ -339,7 +339,7 @@ static int parse_password(const char *filename, char **wall) {
                 }
 
                 if (arg_plymouth) {
-                        char **passwords = NULL;
+                        _cleanup_strv_free_ char **passwords = NULL;
 
                         if ((r = ask_password_plymouth(message, not_after, filename, accept_cached, &passwords)) >= 0) {
                                 char **p;