]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/agetty.c
agetty: fix resource leak
[thirdparty/util-linux.git] / term-utils / agetty.c
index e8049c4d86c13f163253526d9d6bda0f2019874c..5963e83176c2328e6efbca1c06ce7e7098809450 100644 (file)
@@ -3027,4 +3027,5 @@ static void load_credentials(struct options *op) {
                        op->autolog = str;
                }
        }
+       closedir(dir);
 }