From 5bb7102c52098a239d44219b72ce8f1159823ff0 Mon Sep 17 00:00:00 2001
From: Grigorii Demidov <grigorii.demidov@nic.cz>
Date: Wed, 25 May 2016 13:32:21 +0200
Subject: [PATCH] tests/test_cache: fix broken test

---
 tests/test.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test.h b/tests/test.h
index b0e9c2ce4..78316f193 100644
--- a/tests/test.h
+++ b/tests/test.h
@@ -66,6 +66,7 @@ static inline int test_tmpdir_remove(const char *path)
 		remove(buf);
 	}
 	remove(path);
+	closedir(dir);
 	return 0;
 }
 
-- 
GitLab