clone.c: don't leak memory in cmd_clone
commit50b6773287503cb76d1f4020245bbd119c410961
authorStefan Beller <stefanbeller@gmail.com>
Sun, 10 Aug 2014 13:57:56 +0000 (10 15:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Aug 2014 23:41:14 +0000 (10 16:41 -0700)
treebb144a079984d0aea615541d56e6984a46713374
parent2f50babef18db3ca90b0b75f54d9c36d7a9142b3
clone.c: don't leak memory in cmd_clone

Free the refspec.
Found by scan.coverity.com (Id: 1127806)

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