]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Supress the leak detection in xmlGetGlobalState
authorOndřej Surý <ondrej@isc.org>
Wed, 17 Apr 2024 18:44:32 +0000 (20:44 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 18 Apr 2024 08:53:31 +0000 (10:53 +0200)
The xmlGetGlobalState allocates per-thread memory that is not properly
cleaned up when the libxml2 is used from offloaded threads.  Add the
function the the LeakSanitizer suppression list.

suppr-lsan.txt

index 050b86e9ae955299057114b44bf7a25189f4c499..da4984cd340d2a7cf2c4eb8561926770ebf4fdd8 100644 (file)
@@ -24,3 +24,4 @@ leak:pkcs11_enumerate_slots
 leak:pkcs11_getattr_alloc
 leak:pkcs11_init_key
 leak:pkcs11_strdup
+leak:xmlGetGlobalState