remote.c: don't leak the base branch name in format_tracking_info
commit2f50babef18db3ca90b0b75f54d9c36d7a9142b3
authorStefan Beller <stefanbeller@gmail.com>
Sun, 10 Aug 2014 19:43:33 +0000 (10 21:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Aug 2014 23:40:54 +0000 (10 16:40 -0700)
treef533eff21155222933ab3b30be8810b8b2370386
parent32f56600bb6ac6fc57183e79d2c1515dfa56672f
remote.c: don't leak the base branch name in format_tracking_info

Found by scan.coverity.com (Id: 1127809)

Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c