cellog          Sun Oct 12 19:45:12 2008 UTC

  Modified files:              
    /php-src/ext/phar   phar_object.c 
  Log:
  MFB: fix incorrect key for Phar destructor
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar_object.c?r1=1.287&r2=1.288&diff_format=u
Index: php-src/ext/phar/phar_object.c
diff -u php-src/ext/phar/phar_object.c:1.287 
php-src/ext/phar/phar_object.c:1.288
--- php-src/ext/phar/phar_object.c:1.287        Sun Oct 12 19:40:29 2008
+++ php-src/ext/phar/phar_object.c      Sun Oct 12 19:45:12 2008
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: phar_object.c,v 1.287 2008/10/12 19:40:29 cellog Exp $ */
+/* $Id: phar_object.c,v 1.288 2008/10/12 19:45:12 cellog Exp $ */
 
 #include "phar_internal.h"
 #include "func_interceptors.h"
@@ -1389,7 +1389,7 @@
        phar_archive_object *phar_obj = 
(phar_archive_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
 
        if (phar_obj->arc.archive && phar_obj->arc.archive->is_persistent) {
-               zend_hash_del(&PHAR_GLOBALS->phar_persist_map, (const char *) 
&(phar_obj->arc.archive), sizeof(&(phar_obj->arc.archive)));
+               zend_hash_del(&PHAR_GLOBALS->phar_persist_map, (const char *) 
phar_obj->arc.archive, sizeof(phar_obj->arc.archive));
        }
 }
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to