diff options
| author | Stefan Beller <sbeller@google.com> | 2016-03-31 17:35:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-04-01 10:31:42 -0700 |
| commit | 344b548475b86f9f95e9fbcd93022f8083918cc7 (patch) | |
| tree | 7748a0635594f20aedc87bf7a1b316550fb52268 /builtin/commit.c | |
| parent | Merge branch 'mm/doc-hooks-linkgit-fix' into maint (diff) | |
| download | git-344b548475b86f9f95e9fbcd93022f8083918cc7.tar.gz git-344b548475b86f9f95e9fbcd93022f8083918cc7.zip | |
notes: don't leak memory in git_config_get_notes_strategy
This function asks for the value of a configuration and after
using the value does not have to retain ownership of it.
git_config_get_string_const() however is a function to get a
copy of the value, but we forget to free it before we return.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
