Make "insert_by_date()" match "commit_list_insert()"
[gitweb.git] / sha1_file.c
index bbb749c561ebfe6cff8240f99b8902e526dda368..1747276647c7551fd3fe7b1a20612341c0d00d6f 100644 (file)
@@ -463,6 +463,7 @@ static void prepare_packed_git_one(char *objdir)
                p->next = packed_git;
                packed_git = p;
        }
+       closedir(dir);
 }
 
 void prepare_packed_git(void)