summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 703f05a)
raw | patch | inline | side by side (parent: 703f05a)
author | Carlos Martín Nieto <cmn@elego.de> | |
Fri, 7 Oct 2011 22:51:06 +0000 (00:51 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 7 Oct 2011 23:02:19 +0000 (16:02 -0700) |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c | patch | blob | history |
diff --git a/builtin/fetch.c b/builtin/fetch.c
index e422ced9299521bb2e7f3c5ff59a434c8403a4ea..605d1bfd66dfcfdba04073454a784737805d6bcc 100644 (file)
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
atexit(unlock_pack);
refspec = parse_fetch_refspec(ref_nr, refs);
exit_code = do_fetch(transport, refspec, ref_nr);
- free(refspec);
+ free_refspec(ref_nr, refspec);
transport_disconnect(transport);
transport = NULL;
return exit_code;