chiark / gitweb /
update TODO
[elogind.git] / src / condition.c
index f18c45421a08bf935f542ebad22312ae58a92c45..2b51a16f17548e48500a460e533e4dee1de1b1b9 100644 (file)
@@ -187,6 +187,8 @@ static bool test_capability(const char *parameter) {
                 }
         }
 
+        fclose(f);
+
         return !!(capabilities & (1ULL << value));
 }