fix fd leak master
authorJann Horn <jann@thejh.net>
Mon, 23 May 2016 00:41:36 +0000 (02:41 +0200)
committerJann Horn <jann@thejh.net>
Mon, 23 May 2016 00:41:36 +0000 (02:41 +0200)
cleanmysourcetree.c

index f324059..f989b72 100644 (file)
@@ -115,6 +115,7 @@ static void add_files_recursive(const char *current_path) {
     }
   }
   add_dir(current_path);
+  closedir(d);
 }
 
 volatile bool child_quit = false;