git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3c2dc76
)
transport: free leaking head in transport_print_push_status()
author
Stefan Beller
<redacted>
Tue, 21 Oct 2014 01:50:44 +0000
(18:50 -0700)
committer
Junio C Hamano
<redacted>
Tue, 21 Oct 2014 18:01:18 +0000
(11:01 -0700)
Found by scan.coverity.com (ID:
1248110
)
Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
transport.c
patch
|
blob
|
history
diff --git
a/transport.c
b/transport.c
index 662421bb5e076177f0fc320330287d3da50303a5..cb62cb68861635df45b6c3b3db1e1bcf5e281db2 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-774,6
+774,7
@@
void transport_print_push_status(const char *dest, struct ref *refs,
*reject_reasons |= REJECT_NEEDS_FORCE;
}
}
+ free(head);
}
void transport_verify_remote_names(int nr_heads, const char **heads)
git clone https://git.99rst.org/PROJECT