]> git.ipfire.org Git - thirdparty/git.git/blobdiff - send-pack.c
upload-pack.c: don't free allowed_filters util pointers
[thirdparty/git.git] / send-pack.c
index eb4a44270bad2b2576bc93cb282b5f5bdf4dee83..d2701bf35c1b321c2a894c25c8634825f46b6ef7 100644 (file)
@@ -85,6 +85,7 @@ static int pack_objects(int fd, struct ref *refs, struct oid_array *extra, struc
        po.in = -1;
        po.out = args->stateless_rpc ? -1 : fd;
        po.git_cmd = 1;
+       po.clean_on_exit = 1;
        if (start_command(&po))
                die_errno("git pack-objects failed");