]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/test_cache: fix broken test
authorGrigorii Demidov <grigorii.demidov@nic.cz>
Wed, 25 May 2016 11:32:21 +0000 (13:32 +0200)
committerGrigorii Demidov <grigorii.demidov@nic.cz>
Wed, 25 May 2016 11:32:21 +0000 (13:32 +0200)
tests/test.h

index b0e9c2ce49316a1b257f406a33180c329cea61b6..78316f1934fef6a1124d7105e3a8826ec2f9d6bd 100644 (file)
@@ -66,6 +66,7 @@ static inline int test_tmpdir_remove(const char *path)
                remove(buf);
        }
        remove(path);
+       closedir(dir);
        return 0;
 }