https://bugs.winehq.org/show_bug.cgi?id=36248
Bug ID: 36248 Summary: valgrind shows several potential leaks in cryptui/tests/cryptui.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48378 --> https://bugs.winehq.org/attachment.cgi?id=48378 valgrind log
==28603== 20 bytes in 1 blocks are possibly lost in loss record 109 of 617 ==28603== at 0x7BC4C735: notify_alloc (heap.c:255) ==28603== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==28603== by 0x4D539FE: CryptMemAlloc (main.c:124) ==28603== by 0x4D676D9: ContextPropertyList_SetProperty (proplist.c:132) ==28603== by 0x4D67907: ContextPropertyList_Copy (proplist.c:215) ==28603== by 0x4D2EA1E: Context_CopyProperties (context.c:130) ==28603== by 0x4D1ABDC: Cert_clone (cert.c:139) ==28603== by 0x4D736E0: MemStore_addContext (store.c:151) ==28603== by 0x4D73AB1: MemStore_addCert (store.c:243) ==28603== by 0x4D1B189: add_cert_to_store (cert.c:263) ==28603== by 0x4D1B2EF: CertAddCertificateContextToStore (cert.c:287) ==28603== by 0x4D6C405: CRYPT_RegReadSerializedFromReg (regstore.c:138) ==28603== by 0x4D6C535: CRYPT_RegReadFromReg (regstore.c:175) ==28603== by 0x4D6D57F: CRYPT_RegOpenStore (regstore.c:557) ==28603== by 0x4D74877: CRYPT_SysRegOpenStoreW (store.c:511) ==28603== by 0x4D75B5B: CertOpenStore (store.c:907) ==28603== by 0x4D74B57: CRYPT_SysOpenStoreW (store.c:585) ==28603== by 0x4D75B5B: CertOpenStore (store.c:907) ==28603== by 0x49555B5: test_crypt_ui_wiz_import (cryptui.c:402) ==28603== by 0x4956625: func_cryptui (cryptui.c:660) ==28603==
==28603== 20 bytes in 1 blocks are possibly lost in loss record 110 of 617 ==28603== at 0x7BC4C735: notify_alloc (heap.c:255) ==28603== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==28603== by 0x4D539FE: CryptMemAlloc (main.c:124) ==28603== by 0x4D2E117: CertAddStoreToCollection (collectionstore.c:519) ==28603== by 0x4D74C65: CRYPT_SysOpenStoreW (store.c:608) ==28603== by 0x4D75B5B: CertOpenStore (store.c:907) ==28603== by 0x49555B5: test_crypt_ui_wiz_import (cryptui.c:402) ==28603== by 0x4956625: func_cryptui (cryptui.c:660) ==28603== by 0x495742C: run_test (test.h:584) ==28603== by 0x495781A: main (test.h:654) ==28603==
==28746== 20 bytes in 1 blocks are possibly lost in loss record 119 of 736 ==28746== at 0x7BC4C735: notify_alloc (heap.c:255) ==28746== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==28746== by 0x4D639FE: CryptMemAlloc (main.c:124) ==28746== by 0x4D3E117: CertAddStoreToCollection (collectionstore.c:519) ==28746== by 0x4D84C65: CRYPT_SysOpenStoreW (store.c:608) ==28746== by 0x4D85B5B: CertOpenStore (store.c:907) ==28746== by 0x5889197: ??? ==28746== by 0x58891EA: ??? ==28746== by 0x588AEEA: ??? ==28746== by 0x588BAAD: ??? ==28746== by 0x4955536: test_crypt_ui_wiz_import (cryptui.c:397) ==28746== by 0x4956625: func_cryptui (cryptui.c:660) ==28746== by 0x495742C: run_test (test.h:584) ==28746== by 0x495781A: main (test.h:654) ==28746==
etc.