diff options
-rw-r--r-- | uemis-downloader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index 0c6e33c1e..75eca6acc 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -88,6 +88,7 @@ static int number_of_file(char *path) GDir *dir = g_dir_open(path, 0, NULL); while (g_dir_read_name(dir)) count++; + g_dir_close(dir); return count; } |