[Bug 20654] New: Memory leak in RtlGetFullPathName_U (found by chromium unit_tests)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 10 17:47:01 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=20654

           Summary: Memory leak in RtlGetFullPathName_U (found by chromium
                    unit_tests)
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: download, patch, source
          Severity: normal
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


chromium leaks in unit_tests.exe's FileUtilTest.GetTempDirTest
(and others):

520 bytes in 1 blocks are definitely lost in loss record 933 of 1,151 
   at notify_alloc (heap.c:214)
   by RtlAllocateHeap (heap.c:1421)
   by get_full_path_helper (path.c:643)
   by RtlGetFullPathName_U (path.c:798)
   by GetFullPathNameW (path.c:242)
   by GetTempPathW (path.c:598)
   by file_util::GetTempDir (file_util_win.cc:427)
   by `anonymous namespace'::FileUtilTest_GetTempDirTest_Test::TestBody
(file_util_unittest.cc:1047)

A patch was sent on 9 Nov, http://source.winehq.org/patches/data/55056 ,
but was rejected (it *was* kind of ugly).

This also affects a number of other Win32 api functions, not just GetTempPath.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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