[Bug 36161] New: valgrind shows a leak in wmiutils/tests/path.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 29 17:13:50 CDT 2014


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 at winehq.org
          Reporter: austinenglish at 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
}

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list