https://bugs.winehq.org/show_bug.cgi?id=36817
Bug ID: 36817 Summary: valgrind shows a mismatched free in msvcrt/tests/file.c Product: Wine Version: 1.7.21 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==11351== Mismatched free() / delete / delete [] ==11351== at 0x7BC4C72C: notify_free (heap.c:263) ==11351== by 0x7BC51071: RtlFreeHeap (heap.c:1762) ==11351== by 0x4EA624C: msvcrt_heap_free (heap.c:113) ==11351== by 0x4EA6BDC: MSVCRT_free (heap.c:400) ==11351== by 0x4EA1E9A: MSVCRT_fclose (file.c:3381) ==11351== by 0x4BC07E3: test_fileops (file.c:189) ==11351== by 0x4BCD4FC: func_file (file.c:2337) ==11351== by 0x4C04E40: run_test (test.h:584) ==11351== by 0x4C0523D: main (test.h:654) ==11351== Address 0x4557010 is 0 bytes inside a block of size 2,048 alloc'd ==11351== at 0x4029155: malloc (vg_replace_malloc.c:292) ==11351== by 0x4EA4F16: MSVCRT_setvbuf (file.c:4509) ==11351== by 0x4BBFDFD: test_fileops (file.c:146) ==11351== by 0x4BCD4FC: func_file (file.c:2337) ==11351== by 0x4C04E40: run_test (test.h:584) ==11351== by 0x4C0523D: main (test.h:654) ==11351==