wt-status.c: fix a memleak
commit0e32d4b31f35d36dc78bb26fefac221605ca3e60
authorStefan Beller <sbeller@google.com>
Tue, 31 Mar 2015 01:22:09 +0000 (30 18:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Mar 2015 05:12:38 +0000 (30 22:12 -0700)
treeb1a826f5b98b85c97a1b310928e55d368359804c
parente156455ea49124c140a67623f22a393db62d5d98
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>
wt-status.c