MEMO5-Local objects that are created more than once without being freed in-between |
Top Previous Next |
Local objects that are created more than once without being freed in-between (MEMO5)
This section reports objects that are created more than once (in a row) without being freed in-between. This leads to memory leakage, like in the following example:
Here, the locally declared object Obj is only freed once, which causes a memory leak.
See also:
|