MCPcopy Create free account
hub / github.com/curl/curl / curl_dbg_cleanup

Function curl_dbg_cleanup

lib/memdebug.c:100–119  ·  view source on GitHub ↗

LeakSantizier (LSAN) calls _exit() instead of exit() when a leak is detected on exit so the logfile must be closed explicitly or data could be lost. Though _exit() does not call atexit handlers such as this, LSAN's call to _exit() comes after the atexit handlers are called. curl/curl#6620 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

curl_dbg_lockFunction · 0.85
curl_dbg_unlockFunction · 0.85

Tested by

no test coverage detected