cvs: php4(PHP_4_0_7) /ext/xslt xslt.c

From: Date: Mon, 03 Dec 2001 08:12:16 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/xslt xslt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8402@lists.php.net to get a copy of this message
sterling Mon Dec 3 03:12:16 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/xslt xslt.c Log: No need to create this, automatically done (automagically even) by call_user_function_ex() Index: php4/ext/xslt/xslt.c diff -u php4/ext/xslt/xslt.c:1.13 php4/ext/xslt/xslt.c:1.13.2.1 --- php4/ext/xslt/xslt.c:1.13 Mon Jul 30 04:24:39 2001 +++ php4/ext/xslt/xslt.c Mon Dec 3 03:12:15 2001 @@ -219,9 +219,6 @@ int idx; /* Idx, when looping through and free'ing the arguments */ TSRMLS_FETCH(); /* For TS mode, fetch the executor globals */ - /* Allocate and initialize return value from the function */ - MAKE_STD_ZVAL(*retval); - argv = emalloc(argc * sizeof(zval **)); for (idx = 0; idx < argc; idx++) { argv[idx] = &user_args[idx]; @@ -241,10 +238,10 @@ /* Decrease refcount and free if refcount is <= 0 */ zval_ptr_dtor(argv[idx]); } - efree(argv); } /* }}} */ + #endif /*

« previous php.cvs (#8402) next »