]> git.ipfire.org Git - thirdparty/curl.git/commit
url: make Curl_close() NULLify the pointer too
authorDaniel Stenberg <daniel@haxx.se>
Mon, 28 Oct 2019 08:28:05 +0000 (09:28 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Oct 2019 08:36:21 +0000 (09:36 +0100)
commitdcd7e37c3a0ce108635b89cacc1e3425e57bd3bc
tree97213435d44104e4217159001944504ce518158d
parent4011802b35638e311e548e8893fa74373275145a
url: make Curl_close() NULLify the pointer too

This is the common pattern used in the code and by a unified approach we
avoid mistakes.

Closes #4534
lib/conncache.c
lib/doh.c
lib/easy.c
lib/http2.c
lib/url.c
lib/url.h
tests/unit/unit1620.c