diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-26 14:39:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-26 14:39:44 -0700 |
commit | c0f5f311dbb219c88a2da4a3029f9c7d9c554753 (patch) | |
tree | cb17d6278ad6e51d84691d3e38658d14c71229fc /builtin/prune-packed.c | |
parent | Merge branch 'jc/hash-object-fsck-tag' (diff) | |
parent | repack: call prune_packed_objects() and update_server_info() directly (diff) | |
download | tgif-c0f5f311dbb219c88a2da4a3029f9c7d9c554753.tar.xz |
Merge branch 'jk/prune-packed-server-info'
Code cleanup.
* jk/prune-packed-server-info:
repack: call prune_packed_objects() and update_server_info() directly
server-info: clean up after writing info/packs
make update-server-info more robust
prune-packed: fix minor memory leak
Diffstat (limited to 'builtin/prune-packed.c')
-rw-r--r-- | builtin/prune-packed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/prune-packed.c b/builtin/prune-packed.c index 6879468c46..d430731d70 100644 --- a/builtin/prune-packed.c +++ b/builtin/prune-packed.c @@ -68,6 +68,7 @@ void prune_packed_objects(int opts) rmdir(pathname.buf); } stop_progress(&progress); + strbuf_release(&pathname); } int cmd_prune_packed(int argc, const char **argv, const char *prefix) |