diff options
author | Stefan Beller <sbeller@google.com> | 2016-03-31 17:35:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-01 10:32:43 -0700 |
commit | 6eb6078bf5fd08028b21d80b9062a4aed83a2340 (patch) | |
tree | b0f0ed26151f56a95e3c2b5be9be5c75a5dc5ff3 /Documentation/git-write-tree.txt | |
parent | notes: don't leak memory in git_config_get_notes_strategy (diff) | |
download | tgif-6eb6078bf5fd08028b21d80b9062a4aed83a2340.tar.xz |
abbrev_sha1_in_line: don't leak memory
`split` is of type `struct strbuf **`, and currently we are leaking split
itself as well as each element in split[i]. We have a dedicated free
function for `struct strbuf **`, which takes care of freeing all
related memory.
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-write-tree.txt')
0 files changed, 0 insertions, 0 deletions