[Bug 36299] valgrind shows a few possible leaks in msxml3/tests/httpreq.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 31 03:53:39 CST 2015


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

--- Comment #3 from Nikolay Sivov <bunglehead at gmail.com> ---
(In reply to Austin English from comment #1)
> ==22969== 32 bytes in 1 blocks are definitely lost in loss record 265 of 735
> ==22969==    at 0x7BC50A9B: RtlAllocateHeap (heap.c:255)
> ==22969==    by 0x539CC95: CreateStreamOnHGlobal (hglobalstream.c:591)
> ==22969==    by 0x539CD73: HGLOBALStreamImpl_Clone (hglobalstream.c:552)
> ==22969==    by 0x665114C: httprequest_get_responseStream.isra.1
> (objidl.h:4412)
> ==22969==    by 0x6651215: XMLHTTPRequest_get_responseStream
> (httprequest.c:1511)
> ==22969==    by 0x4DA21B6: func_httpreq (msxml.h:9406)
> ==22969==    by 0x4DC9310: run_test (test.h:584)
> ==22969==    by 0x4DC96FF: main (test.h:654)
> ==22969==

https://www.winehq.org/pipermail/wine-patches/2015-December/145560.html for
that particular leak. And I have a fix for 

(In reply to Austin English from comment #0)
> ==30801== 16 bytes in 1 blocks are possibly lost in loss record 132 of 690
> ==30801==    at 0x7BC4C735: notify_alloc (heap.c:255)
> ==30801==    by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
> ==30801==    by 0x4C6C0FA: alloc_bstr (oleaut.c:162)
> ==30801==    by 0x4C6C490: SysAllocStringLen (oleaut.c:324)
> ==30801==    by 0x49B1C66: alloc_str_from_narrow (httpreq.c:95)
> ==30801==    by 0x49B1D13: _bstr_ (httpreq.c:109)
> ==30801==    by 0x49B5C64: _test_open (httpreq.c:1418)
> ==30801==    by 0x49B8937: test_safe_httpreq (httpreq.c:1749)
> ==30801==    by 0x49B8A05: func_httpreq (httpreq.c:1768)
> ==30801==    by 0x49EB96C: run_test (test.h:584)
> ==30801==    by 0x49EBD5B: main (test.h:654)
> ==30801== 
> 

the rest looks too generic, like typelib warnings, or
apartment_getclassobject().

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