diff options
author | Christian Hesse <mail@eworm.de> | 2016-05-03 22:24:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-05-03 22:24:50 +0200 |
commit | 43e9a771c9d669f93313aefb1da750fba4363cbe (patch) | |
tree | 58f67346aea5815cbd997b1cc6a2290311f17c6d | |
parent | 0af664efb9471b58244180dcbe16f5b45fd9792e (diff) | |
download | mkinitcpio-ykfde-43e9a771c9d669f93313aefb1da750fba4363cbe.tar.gz mkinitcpio-ykfde-43e9a771c9d669f93313aefb1da750fba4363cbe.tar.zst |
do not crypt_free() when crypt_status() fails
-rw-r--r-- | bin/ykfde.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c index 59b958d..1e70cbf 100644 --- a/bin/ykfde.c +++ b/bin/ykfde.c @@ -252,7 +252,7 @@ int main(int argc, char **argv) { if (cryptstatus != CRYPT_ACTIVE && cryptstatus != CRYPT_BUSY) { rc = EXIT_FAILURE; fprintf(stderr, "Device %s is invalid or inactive.\n", device_name); - goto out60; + goto out50; } /* initialize crypt device */ |