Translations:Development/Tutorials/Common Programming Mistakes/53/en: Difference between revisions
Appearance
Importing a new version from external source |
(No difference)
|
Latest revision as of 07:31, 26 October 2019
You see, pollute() instantiates a new object polluter of the class t. Then, the variable polluter is lost because it is local, but the content (the object) stays on the heap. I could use this program to render my computer unusable within 10 seconds.