https://bugs.winehq.org/show_bug.cgi?id=36161
Bug ID: 36161 Summary: valgrind shows a leak in wmiutils/tests/path.c Product: Wine Version: 1.7.17 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
==18224== 10 bytes in 1 blocks are definitely lost in loss record 39 of 614 ==18224== at 0x7BC4C735: notify_alloc (heap.c:255) ==18224== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==18224== by 0x5F9A29F: heap_alloc (wmiutils_private.h:27) ==18224== by 0x5F9B65D: parse_text (path.c:448) ==18224== by 0x5F9BAAD: path_SetText (path.c:526) ==18224== by 0x495503B: test_IWbemPath_SetText (wmiutils.h:716) ==18224== by 0x495B054: func_path (path.c:869) ==18224== by 0x495BE84: run_test (test.h:584) ==18224== by 0x495C272: main (test.h:654) ==18224==
and one possible loss: ==18857== 28 bytes in 1 blocks are possibly lost in loss record 188 of 614 ==18857== at 0x7BC4C735: notify_alloc (heap.c:255) ==18857== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==18857== by 0x4D448B6: COMPOBJ_DllList_Add (compobj.c:526) ==18857== by 0x4D46BF2: apartment_getclassobject (compobj.c:1335) ==18857== by 0x4D4A33C: get_inproc_class_object (compobj.c:2894) ==18857== by 0x4D4A7FB: CoGetClassObject (compobj.c:3032) ==18857== by 0x4D4ADBD: CoCreateInstance (compobj.c:3197) ==18857== by 0x4954E94: create_path (path.c:81) ==18857== by 0x4954EEE: test_IWbemPath_SetText (path.c:132) ==18857== by 0x495B054: func_path (path.c:869) ==18857== by 0x495BE84: run_test (test.h:584) ==18857== by 0x495C272: main (test.h:654) ==18857== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: possible fun:notify_alloc fun:RtlAllocateHeap fun:COMPOBJ_DllList_Add fun:apartment_getclassobject fun:get_inproc_class_object fun:CoGetClassObject fun:CoCreateInstance fun:create_path fun:test_IWbemPath_SetText fun:func_path fun:run_test fun:main }
https://bugs.winehq.org/show_bug.cgi?id=36161
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |582c5fde998096b4726407356fc | |8064ea4e382c9 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/582c5fde998096b4726407356f...
the potential loss is still there, but that's a separate bug.
https://bugs.winehq.org/show_bug.cgi?id=36161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.18.