From 3b11ed198e2b6d26977edc3f0857062f0295b42b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Dec 2020 16:02:43 +0100 Subject: Windows: Fix leaking directory handles --- src/filesystem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filesystem.c b/src/filesystem.c index 0482336..3044e8e 100644 --- a/src/filesystem.c +++ b/src/filesystem.c @@ -379,6 +379,7 @@ lilv_dir_for_each(const char* path, } } while (FindNextFile(fh, &fd)); } + FindClose(fh); free(pat); #else DIR* dir = opendir(path); -- cgit v1.2.1