- Timestamp:
- Jan 19, 2010, 12:31:32 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/JpegMetaData/Common/XmlData.class.php
r4686 r4705 98 98 } 99 99 100 /** 101 * free memory before destroying the object... 102 */ 100 103 function __destruct() 101 104 { 105 $this->previousNode=null; 106 $this->nextNode=null; 107 unset($this->previousNode); 108 unset($this->nextNode); 102 109 unset($this->attributes); 103 110 unset($this->childs); 111 unset($this->value); 112 unset($this->name); 113 unset($this->level); 104 114 } 105 115 … … 369 379 function __destruct() 370 380 { 381 unset($this->xml); 382 unset($this->isValid); 383 unset($this->isLoaded); 371 384 unset($this->nodes); 372 385 } … … 464 477 $result=xml_parse_into_struct($xmlParser, $this->xml, $values); 465 478 xml_parser_free($xmlParser); 479 unset($xmlParser); 466 480 467 481 //an error has occured while parsing the xml structure … … 517 531 } 518 532 } 533 unset($values); 519 534 unset($tree); 520 535 return(true);
Note: See TracChangeset
for help on using the changeset viewer.