]> git.sesse.net Git - xml-template/blobdiff - php5-swig/attribute.php
Leak a little less memory in php5-swig.
[xml-template] / php5-swig / attribute.php
index fa5a0dfe08a1bc44f7855b8c58cc0db978bf7d35..d63cf69c23ab1ac0c5ec4fe059cf272314f0e774 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 dl("XML_Template_SWIG.so");
-$doc = process_file('../xml/clone.xml', array(
+$doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'red',
        '#things' => array(
                array( 'li' => 'Raindrops on roses',    'li/class' => 'odd' ),