3 ms·
Reference counting does not avoid using something after freeing it...
by LinaLauneBaer 12y ago
Reference counting does not avoid using something after freeing it...
- pjmlp 12y agoThen the reference counting is not properly implemented, otherwise reference count would be greater than zero.
- LinaLauneBaer 12y agoobject = create_object() // RC 1 object.release() // RC 0 => will be released // ... object.doSomething() // Used after object was released ?
- maemre 12y agoI think parent means reference counting built into the language (like Python)