Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http: always remove curl easy from curlm session on release
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 4160e6882de40b2e032727616084a08c94a1e565..72289696d9f50d823cf20c5cfaf1847eba3b2708 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-3507,12
+3507,12
@@
static int for_each_file_in_obj_subdir(int subdir_nr,
break;
}
}
-
strbuf_setlen(path, baselen
);
+
closedir(dir
);
+ strbuf_setlen(path, baselen);
if (!r && subdir_cb)
r = subdir_cb(subdir_nr, path->buf, data);
- closedir(dir);
return r;
}