X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=reachable.c;h=b515fa2de332cc570a8a32861bd8d6491b61133e;hb=28044baba6d268d91057398ffa041ee1b931a5e0;hp=3b1c18ff9b9060d0dd437ce89aedb8871c66c54c;hpb=998b912927281a871e8d379e2b3a4385c775c4fe;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;