http://bugs.winehq.org/show_bug.cgi?id=9157
Summary: can't find memory leak in Wine, win32 binary executabe file Product: Wine Version: unspecified Platform: PC URL: http://bugs.kde.org/show_bug.cgi?id=148441 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: cnstar9988@gmail.com
Windows program being run under wine. I want to use wine+valgrind, check my windows app for memory check. Myabe wine can configure with an option, so I can use wine+valgrind to debug my windows application. Thanks.
//the following sourcecode has memory leak,but valgrind 3.3.SVN can't check it on wine 0.9.42. #include "string.h" #include "stdlib.h" #include "stdio.h" int main(int argc, char* argv[]) { char *x;
x = (char *)malloc(32);
printf("Hello World!\n"); return 0; }