diff options
author | Stefan Beller <sbeller@google.com> | 2015-03-30 18:22:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-30 22:12:38 -0700 |
commit | 0e32d4b31f35d36dc78bb26fefac221605ca3e60 (patch) | |
tree | b1a826f5b98b85c97a1b310928e55d368359804c /sha1-array.h | |
parent | Git 2.0 (diff) | |
download | tgif-0e32d4b31f35d36dc78bb26fefac221605ca3e60.tar.xz |
wt-status.c: fix a memleak
wt_shortstatus_print_tracking() calls shorten_unambiguous_ref(),
which returns a newly allocated memory the caller takes ownership
of; it is necessary to free `base` when the function is done with
it.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-array.h')
0 files changed, 0 insertions, 0 deletions