https://bugs.winehq.org/show_bug.cgi?id=36191
--- Comment #1 from Austin English austinenglish@gmail.com --- Also a definite leak: ==17318== 48 bytes in 1 blocks are definitely lost in loss record 159 of 334 ==17318== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==17318== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==17318== by 0x4EE398B: CryptMemAlloc (main.c:124) ==17318== by 0x4EBE5A6: Context_CreateLinkContext (context.c:60) ==17318== by 0x4EAAB00: Cert_clone (cert.c:127) ==17318== by 0x4EBD199: CRYPT_CollectionCreateContextFromChild (collectionstore.c:85) ==17318== by 0x4EBD485: CRYPT_CollectionAdvanceEnum (collectionstore.c:174) ==17318== by 0x4EBD6EE: Collection_enumCert (collectionstore.c:247) ==17318== by 0x4F05CB9: CertEnumCertificatesInStore (store.c:946) ==17318== by 0x4EAE3F7: cert_compare_certs_in_store (cert.c:1528) ==17318== by 0x4EAEF02: CertFindCertificateInStore (cert.c:1794) ==17318== by 0x4EAAD3C: add_cert_to_store (cert.c:192) ==17318== by 0x4EAB27F: CertAddCertificateContextToStore (cert.c:287) ==17318== by 0x4CC9B54: testAddCert (cert.c:306) ==17318== by 0x4CD8F2F: func_cert (cert.c:3976) ==17318== by 0x4D33F67: run_test (test.h:584) ==17318== by 0x4D34356: main (test.h:654) ==17318==
==17318== 48 bytes in 1 blocks are possibly lost in loss record 154 of 334 ==17318== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==17318== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==17318== by 0x4EE398B: CryptMemAlloc (main.c:124) ==17318== by 0x4EBE45E: Context_CreateDataContext (context.c:32) ==17318== by 0x4EAAB41: Cert_clone (cert.c:135) ==17318== by 0x4F03664: MemStore_addContext (store.c:151) ==17318== by 0x4F03A35: MemStore_addCert (store.c:243) ==17318== by 0x4EAB119: add_cert_to_store (cert.c:263) ==17318== by 0x4EAB27F: CertAddCertificateContextToStore (cert.c:287) ==17318== by 0x4EAA852: CertAddEncodedCertificateToStore (cert.c:65) ==17318== by 0x4CC97B2: testAddCert (cert.c:247) ==17318== by 0x4CD8F2F: func_cert (cert.c:3976) ==17318== by 0x4D33F67: run_test (test.h:584) ==17318== by 0x4D34356: main (test.h:654) ==17318==
==17318== 20 bytes in 1 blocks are possibly lost in loss record 57 of 334 ==17318== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==17318== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==17318== by 0x4EE398B: CryptMemAlloc (main.c:124) ==17318== by 0x4EF7661: ContextPropertyList_SetProperty (proplist.c:132) ==17318== by 0x4EAC507: CertContext_SetProperty (cert.c:703) ==17318== by 0x4EAB7AF: CertContext_GetHashProp (cert.c:399) ==17318== by 0x4EAB9DB: CertContext_GetProperty (cert.c:445) ==17318== by 0x4EABFDA: CertGetCertificateContextProperty (cert.c:579) ==17318== by 0x4EAACE4: add_cert_to_store (cert.c:186) ==17318== by 0x4EAB27F: CertAddCertificateContextToStore (cert.c:287) ==17318== by 0x4CC9A64: testAddCert (cert.c:293) ==17318== by 0x4CD8F2F: func_cert (cert.c:3976) ==17318== by 0x4D33F67: run_test (test.h:584) ==17318== by 0x4D34356: main (test.h:654) ==17318==