Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualVlad86

Posted 04 April 2013 - 09:01 PM

I use this type of implementation for this: http://www.flipcode.com/archives/How_To_Find_Memory_Leaks.shtml

Doesn't work on malloc etc.

 

It will make your code really slow, but the awesome thing is.. you can add some extra functionality:

-Record when the memory block was allocated.

-Reset you memory-track-table

-Output the table when you like to a file

-etc.


#2Vlad86

Posted 04 April 2013 - 08:52 PM

I use this type of implementation for this: http://www.flipcode.com/archives/How_To_Find_Memory_Leaks.shtml

Doesn't work on malloc etc.

 

It will make you code really slow, but the awesome thing is.. you can add some extra functionality:

-Record when the memory block was allocated.

-Reset you memory-track-table

-Output the table when you like to a file

-etc.


#1Vlad86

Posted 04 April 2013 - 08:47 PM

I use this type of implementation for this: http://www.flipcode.com/archives/How_To_Find_Memory_Leaks.shtml

Doesn't work on malloc etc.


PARTNERS