|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Memory Leaks in C++
If you have any questions or comments about this article please post them here.
This forum post relates to this article |
|
#2
|
|||
|
|||
|
I tried the memory leak code inside a function within a large application. I created a deliberate memory leak (as demonstrated in the article):
{ FindMemoryLeak fml; int* p = new int; } When the FindMemoryLeak destructor ran, the statistics dump looked right - 4 bytes in 1 block, but the object dump dumped a long list of objects and there was nothing in the list that corresponded to the leak I created. What is being dumped and how can I get it to work in this case? ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Article Discussion: Memory Leaks in C++ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|