https://bugs.winehq.org/show_bug.cgi?id=36592
Bug ID: 36592 Summary: valgrind shows several leaks in wbemprox/tests/query.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==9559== 0 bytes in 1 blocks are definitely lost in loss record 1 of 632 ==9559== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==9559== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==9559== by 0x63D86BA: heap_alloc_zero (wbemprox_private.h:243) ==9559== by 0x63DAC7E: create_signature_columns_and_data (class.c:739) ==9559== by 0x63DB061: create_signature_table (class.c:787) ==9559== by 0x63DB2A9: create_signature (class.c:842) ==9559== by 0x63DB3B9: class_object_GetMethod (class.c:864) ==9559== by 0x4CA354D: test_Win32_Process (wbemcli.h:1932) ==9559== by 0x4CA66E5: func_query (query.c:679) ==9559== by 0x4CA7FC8: run_test (test.h:584) ==9559== by 0x4CA83B7: main (test.h:654) ==9559==
==9559== 16 bytes in 1 blocks are definitely lost in loss record 115 of 632 ==9559== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==9559== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==9559== by 0x63D86BA: heap_alloc_zero (wbemprox_private.h:243) ==9559== by 0x63DAC7E: create_signature_columns_and_data (class.c:739) ==9559== by 0x63DB061: create_signature_table (class.c:787) ==9559== by 0x63DB2A9: create_signature (class.c:842) ==9559== by 0x63DB3B9: class_object_GetMethod (class.c:864) ==9559== by 0x4CA4311: test_StdRegProv (wbemcli.h:1932) ==9559== by 0x4CA66FB: func_query (query.c:681) ==9559== by 0x4CA7FC8: run_test (test.h:584) ==9559== by 0x4CA83B7: main (test.h:654) ==9559==
https://bugs.winehq.org/show_bug.cgi?id=36592
--- Comment #1 from Austin English austinenglish@gmail.com --- ==18096== 48 bytes in 1 blocks are definitely lost in loss record 287 of 660 ==18096== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==18096== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==18096== by 0x4FA80B4: alloc_bstr (oleaut.c:162) ==18096== by 0x4FA844A: SysAllocStringLen (oleaut.c:324) ==18096== by 0x65EC418: get_stringvalue (reg.c:302) ==18096== by 0x65EC7E9: reg_get_stringvalue (reg.c:350) ==18096== by 0x65EFBA3: wbem_services_ExecMethod (services.c:828) ==18096== by 0x4E6C775: test_StdRegProv (wbemcli.h:1129) ==18096== by 0x4E6D6FB: func_query (query.c:681) ==18096== by 0x4E6EFC8: run_test (test.h:584) ==18096== by 0x4E6F3B7: main (test.h:654) ==18096==
==18096== 752 bytes in 20 blocks are definitely lost in loss record 591 of 660 ==18096== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==18096== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==18096== by 0x4FA80B4: alloc_bstr (oleaut.c:162) ==18096== by 0x4FA844A: SysAllocStringLen (oleaut.c:324) ==18096== by 0x4FA8161: SysAllocString (oleaut.c:232) ==18096== by 0x65EB1C5: get_properties (query.c:982) ==18096== by 0x65E4FAE: class_object_GetNames (class.c:489) ==18096== by 0x4E6D44A: test_GetNames (wbemcli.h:1896) ==18096== by 0x4E6D71C: func_query (query.c:684) ==18096== by 0x4E6EFC8: run_test (test.h:584) ==18096== by 0x4E6F3B7: main (test.h:654) ==18096==
==18096== 32 bytes in 1 blocks are definitely lost in loss record 234 of 660 ==18096== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==18096== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==18096== by 0x65E3689: heap_alloc (wbemprox_private.h:231) ==18096== by 0x65E6A84: create_class_object (class.c:1019) ==18096== by 0x65EE9F0: get_object (services.c:432) ==18096== by 0x65EEB5A: wbem_services_GetObject (services.c:454) ==18096== by 0x4E6A4B7: test_Win32_Process (wbemcli.h:1075) ==18096== by 0x4E6D6E5: func_query (query.c:679) ==18096== by 0x4E6EFC8: run_test (test.h:584) ==18096== by 0x4E6F3B7: main (test.h:654) ==18096==
https://bugs.winehq.org/show_bug.cgi?id=36592
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36592
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- The leak in get_properties is fixed by 84a8ae79d289e403456a740f701d0ebe90ae88d0.
https://bugs.winehq.org/show_bug.cgi?id=36592
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |84a8ae79d289e403456a740f701 | |d0ebe90ae88d0 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Hans Leidekker from comment #2)
The leak in get_properties is fixed by 84a8ae79d289e403456a740f701d0ebe90ae88d0.
Yep, thanks.
https://bugs.winehq.org/show_bug.cgi?id=36592
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.44.