projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4277c67
)
transport.c::get_refs_via_curl(): do not leak refs_url
author
Mike Hommey
<mh@glandium.org>
Sat, 6 Jun 2009 08:43:40 +0000
(16:43 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 6 Jun 2009 17:56:27 +0000
(10:56 -0700)
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c
patch
|
blob
|
history
diff --git
a/transport.c
b/transport.c
index 89d846e5c3d936739a13983728eaf97a1eb15932..b7c1c391c6d2c93fc07e97d9e3ea1415831504a7 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-519,6
+519,7
@@
static struct ref *get_refs_via_curl(struct transport *transport, int for_push)
free(ref);
}
+ free(refs_url);
return refs;
}