]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix double-free error: r289419 moved all error handling in http_connect()
authordes <des@FreeBSD.org>
Thu, 11 Feb 2016 17:48:15 +0000 (17:48 +0000)
committerdes <des@FreeBSD.org>
Thu, 11 Feb 2016 17:48:15 +0000 (17:48 +0000)
commit4f0a0f622190b3b4949f1c9fb5364aeb443b3ffc
tree206516a66375bcbad3a98b3480a86096e6465f81
parenta94c4c08ceccfc7301f55a9d44fc669c60f3acd1
Fix double-free error: r289419 moved all error handling in http_connect()
to the end of the function, but did not remove a fetch_close() call which
was made redundant by the one in the shared error-handling code.

PR: 206774
Submitted by: Christian Heckendorf <heckendorfc@gmail.com>
MFC after: 3 days
lib/libfetch/http.c