diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-25 15:24:53 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-25 15:24:53 -0800 |
commit | 3eebb3e044338fd989b05ab734658cf6208183b2 (patch) | |
tree | c0c5cbcc7d22e4e76368787bd29b02105e4f4193 /archive.c | |
parent | b5b71cbd5dd2a811bd2ddd0b88da1c337c02bb3c (diff) | |
parent | 1c3e412916df1193b270a6947782f96524e5fa45 (diff) | |
download | git-3eebb3e044338fd989b05ab734658cf6208183b2.tar.gz |
Merge branch 'rs/archive-plug-leak-refname'
Memleak fix.
* rs/archive-plug-leak-refname:
archive: release refname after use
Diffstat (limited to 'archive.c')
-rw-r--r-- | archive.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -658,6 +658,7 @@ int write_archive(int argc, const char **argv, const char *prefix, rc = ar->write_archive(ar, &args); string_list_clear_func(&args.extra_files, extra_file_info_clear); + free(args.refname); return rc; } |