diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-26 02:24:53 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-26 02:24:53 +0300 |
commit | 3eebb3e044338fd989b05ab734658cf6208183b2 (patch) | |
tree | c0c5cbcc7d22e4e76368787bd29b02105e4f4193 /archive.h | |
parent | b5b71cbd5dd2a811bd2ddd0b88da1c337c02bb3c (diff) | |
parent | 1c3e412916df1193b270a6947782f96524e5fa45 (diff) |
Merge branch 'rs/archive-plug-leak-refname'
Memleak fix.
* rs/archive-plug-leak-refname:
archive: release refname after use
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ struct repository; struct archiver_args { struct repository *repo; - const char *refname; + char *refname; const char *prefix; const char *base; size_t baselen; |