notes: don't leak memory in git_config_get_notes_strategy
authorStefan Beller <sbeller@google.com>
Fri, 1 Apr 2016 00:35:43 +0000 (17:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2016 17:31:42 +0000 (10:31 -0700)
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>
No differences found