summaryrefslogtreecommitdiff
path: root/bundle.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2015-03-09 16:58:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-10 22:36:03 (GMT)
commit04f20c04c6e51ee061a44406b9a73bf54683d8eb (patch)
tree2e2bdb3fef717f4f421b22d20569aeb973deb858 /bundle.c
parent7a9409cb0104466eba32162f5bc4e5ab46130f02 (diff)
downloadgit-04f20c04c6e51ee061a44406b9a73bf54683d8eb.zip
git-04f20c04c6e51ee061a44406b9a73bf54683d8eb.tar.gz
git-04f20c04c6e51ee061a44406b9a73bf54683d8eb.tar.bz2
connect.c: do not leak "conn" after showing diagnosis
When git_connect() is called to see how the URL is parsed for debugging purposes with CONNECT_DIAG_URL set, the variable conn is leaked. At this point in the codeflow, it only has its memory and no other resource is associated with it, so it is sufficient to clean it up by just freeing it. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.c')
0 files changed, 0 insertions, 0 deletions