[Bug 36303] New: valgrind shows several leaks in msxml3/tests/schema.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 4 02:42:52 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36303

            Bug ID: 36303
           Summary: valgrind shows several leaks in msxml3/tests/schema.c
           Product: Wine
           Version: 1.7.18
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: msxml3
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

Created attachment 48401
  --> https://bugs.winehq.org/attachment.cgi?id=48401
valgrind log

==30820== 2 bytes in 1 blocks are definitely lost in loss record 8 of 967
==30820==    at 0x7BC4C735: notify_alloc (heap.c:255)
==30820==    by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==30820==    by 0x61D7932: heap_alloc (msxml_private.h:169)
==30820==    by 0x61D7AD4: xmlchar_from_wcharn (msxml_private.h:416)
==30820==    by 0x61D7B4C: xmlchar_from_wchar (msxml_private.h:427)
==30820==    by 0x61DA604: schema_cache_remove (schema.c:1321)
==30820==    by 0x4AA537E: test_remove (msxml2.h:4206)
==30820==    by 0x4AA5C31: func_schema (schema.c:1654)
==30820==    by 0x4AB096C: run_test (test.h:584)
==30820==    by 0x4AB0D5B: main (test.h:654)
==30820== 

==30820== 28 bytes in 1 blocks are possibly lost in loss record 326 of 967
==30820==    at 0x7BC4C735: notify_alloc (heap.c:255)
==30820==    by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==30820==    by 0x4D2B262: heap_alloc_zero (typelib.c:1662)
==30820==    by 0x4D2DEA1: MSFT_ReadAllRefs (typelib.c:2902)
==30820==    by 0x4D3014C: ITypeLib2_Constructor_MSFT (typelib.c:3716)
==30820==    by 0x4D2F3B8: TLB_ReadTypeLib (typelib.c:3460)
==30820==    by 0x4D276DC: LoadTypeLibEx (typelib.c:478)
==30820==    by 0x4D27618: LoadTypeLib (typelib.c:454)
==30820==    by 0x4D3C082: ITypeInfo_fnGetRefTypeInfo (typelib.c:7730)
==30820==    by 0x4D36DC5: ITypeInfoImpl_GetInternalDispatchFuncDesc
(oaidl.h:1532)
==30820==    by 0x4D36E00: ITypeInfoImpl_GetInternalDispatchFuncDesc
(typelib.c:6014)
==30820==    by 0x4D37036: ITypeInfo_fnGetFuncDesc (typelib.c:6090)
==30820==    by 0x6196C5C: preprocess_dispex_data (oaidl.h:1505)
==30820==    by 0x6196E79: get_dispex_data (dispex.c:323)
==30820==    by 0x6197446: DispatchEx_GetDispID (dispex.c:420)
==30820==    by 0x4AA4A06: test_obj_dispex (dispex.h:296)
==30820==    by 0x4AA4B41: test_dispex (schema.c:1485)
==30820==    by 0x4AA5C27: func_schema (schema.c:1652)
==30820==    by 0x4AB096C: run_test (test.h:584)
==30820==    by 0x4AB0D5B: main (test.h:654)
==30820== 

==30820== 123 (48 direct, 75 indirect) bytes in 1 blocks are definitely lost in
loss record 692 of 967
==30820==    at 0x4006B11: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==30820==    by 0x64B9711: xmlNewDocProp (in /usr/lib/libxml2.so.2.9.1)
==30820==    by 0x64BB88C: ??? (in /usr/lib/libxml2.so.2.9.1)
==30820==    by 0x61E562A: XDR_E_Schema (xdr.c:805)
==30820==    by 0x61E57ED: XDR_to_XSD_doc (xdr.c:829)
==30820==    by 0x61D9302: cache_entry_from_xdr_doc (schema.c:905)
==30820==    by 0x61DA394: schema_cache_add (schema.c:1253)
==30820==    by 0x4A9CAED: test_collection_refs (msxml2.h:3924)
==30820==    by 0x4AA5C09: func_schema (schema.c:1646)
==30820==    by 0x4AB096C: run_test (test.h:584)
==30820==    by 0x4AB0D5B: main (test.h:654)
==30820== 

etc.

-- 
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