]> git.ipfire.org Git - thirdparty/curl.git/commit
global_init: debug builds allocates a byte in init
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 Jan 2021 23:03:57 +0000 (00:03 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Jan 2021 14:13:45 +0000 (15:13 +0100)
commit9d7281ff1787d83e8e96bb3fc9441ae4cba0cd08
tree67331fe69c52cbdc502e6cc24a003c19f9556a32
parent75f7ab28d20ba0d099e23568109f3f3e6cd95d1b
global_init: debug builds allocates a byte in init

... to make build tools/valgrind warn if no curl_global_cleanup is
called.

This is conditionally only done for debug builds with the env variable
CURL_GLOBAL_INIT set.

Closes #6410
lib/easy.c
tests/runtests.pl