]> git.saurik.com Git - apple/security.git/blobdiff - cdsa/cdsa_utilities/threading.cpp
Security-54.1.3.tar.gz
[apple/security.git] / cdsa / cdsa_utilities / threading.cpp
index 8756095d9d1b77dba214a97d0683333ac97b581b..d187a8e369e457b9fd0105af2dede826080735c2 100644 (file)
@@ -46,7 +46,10 @@ ThreadStoreSlot::~ThreadStoreSlot()
 {
     //@@@ if we wanted to dispose of pending task objects, we'd have
     //@@@ to keep a set of them and delete them explicitly here
+#if BUG_2998157
+       // @@@ bug 2998157 does not clear slots on delete or allocate. Leak them for now
     pthread_key_delete(mKey);
+#endif //BUG_2998157
 }
 
 #endif