Changeset 650
- Timestamp:
- 08/01/2011 02:03:24 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/core/shd/simple_html_dom.php
r459 r650 586 586 function clear() { 587 587 foreach($this->nodes as $n) {$n->clear(); $n = null;} 588 // This add next line is documented in the sourceforge repository. 2977248 as a fix for ongoing memory leaks that occur even with the use of clear. 589 if (isset($this->children)) foreach ($this->children as $n) {$n->clear(); $n = null;} 588 590 if (isset($this->parent)) {$this->parent->clear(); unset($this->parent);} 589 591 if (isset($this->root)) {$this->root->clear(); unset($this->root);}
Note: See TracChangeset
for help on using the changeset viewer.
