use <crtdbg.h>

_crtdumpmemoryleaks() .. will work only in debug version.

On Mon, Aug 15, 2011 at 4:01 AM, Ankur Garg <[email protected]> wrote:

> Where ever u have allocated dynamic memory that qualifies to be a culprit
> for causing memory leak ...Scan through the code if the memory block has
> been deallocated or not ...
>
>
> Regards
> Ankur
>
>
> On Sun, Aug 14, 2011 at 6:03 PM, SAMMM <[email protected]> wrote:
>
>> How to detect in which line the Memory Leak has occured ?? I want the
>> line number where the Memory leak occurs ??? Give every wild answer u
>> can think off ............
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thx,
--Gopi

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to