X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=reachable.c;h=b515fa2de332cc570a8a32861bd8d6491b61133e;hb=a97a74686d70a318cd802003498054cc1e8b0ae2;hp=3b1c18ff9b9060d0dd437ce89aedb8871c66c54c;hpb=5736a3747120d6215de4fdfcf45f4a168a8d024e;p=git.git diff --git a/reachable.c b/reachable.c index 3b1c18ff9..b515fa2de 100644 --- a/reachable.c +++ b/reachable.c @@ -48,7 +48,6 @@ static void process_tree(struct tree *tree, obj->flags |= SEEN; if (parse_tree(tree) < 0) die("bad tree object %s", sha1_to_hex(obj->sha1)); - name = xstrdup(name); add_object(obj, p, path, name); me.up = path; me.elem = name;