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@winehq.org ReportedBy: dank@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.