Ignore:
Timestamp:
Jan 19, 2010, 12:31:32 AM (14 years ago)
Author:
grum
Message:

Change Locale class by L10n class ; add Readers for Nikon and Canon cameras ; some bug corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/JpegMetaData/Common/XmlData.class.php

    r4686 r4705  
    9898    }
    9999
     100    /**
     101     * free memory before destroying the object...
     102     */
    100103    function __destruct()
    101104    {
     105      $this->previousNode=null;
     106      $this->nextNode=null;
     107      unset($this->previousNode);
     108      unset($this->nextNode);
    102109      unset($this->attributes);
    103110      unset($this->childs);
     111      unset($this->value);
     112      unset($this->name);
     113      unset($this->level);
    104114    }
    105115
     
    369379    function __destruct()
    370380    {
     381      unset($this->xml);
     382      unset($this->isValid);
     383      unset($this->isLoaded);
    371384      unset($this->nodes);
    372385    }
     
    464477      $result=xml_parse_into_struct($xmlParser, $this->xml, $values);
    465478      xml_parser_free($xmlParser);
     479      unset($xmlParser);
    466480
    467481      //an error has occured while parsing the xml structure
     
    517531        }
    518532      }
     533      unset($values);
    519534      unset($tree);
    520535      return(true);
Note: See TracChangeset for help on using the changeset viewer.