Link to home
Start Free TrialLog in
Avatar of sahl04
sahl04

asked on

Detecting memory leaks

Hi all,

in Visual Studio 2003 at the end of an debugging session there comes a list of detected memory leaks but
with Visual Studio 2005 there is no list printed.

Following obviously wrong program does not display any memory leak at the end of debugging.

int main(int argc, char *argv[])
{
     char *lpc = new char[20];
}

I am using native C++ without CLR, MFC or ATL - just Qt 4 for portability.

Is there just a wrong configuration of the project/solution or the IDE?

Thanks in advance
Dirk

SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial