summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-03-31 17:35:43 -0700
committerJunio C Hamano <gitster@pobox.com>2016-04-01 10:31:42 -0700
commit344b548475b86f9f95e9fbcd93022f8083918cc7 (patch)
tree7748a0635594f20aedc87bf7a1b316550fb52268 /wt-status.c
parenta0feb1b1870fbb74f65d6a8951e4b2e2a2347ecf (diff)
downloadgit-344b548475b86f9f95e9fbcd93022f8083918cc7.tar.gz
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 'wt-status.c')
0 files changed, 0 insertions, 0 deletions