MEMO4-Unbalanced Create/Free |
Top Previous Next |
Unbalanced Create/Free (MEMO4)
This section reports objects that are not created and freed the same number of times. This can indicate an error, like in the following example:
Here, the locally declared object Obj is never freed, so this code will cause a memory leak.
See also:
|