--- embedaddon/php/ext/xsl/xsltprocessor.c 2013/07/22 01:32:11 1.1.1.3 +++ embedaddon/php/ext/xsl/xsltprocessor.c 2013/10/14 08:02:43 1.1.1.4 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xsltprocessor.c,v 1.1.1.3 2013/07/22 01:32:11 misho Exp $ */ +/* $Id: xsltprocessor.c,v 1.1.1.4 2013/10/14 08:02:43 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -476,7 +476,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet) static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStylesheetPtr style, zval *docp TSRMLS_DC) /* {{{ */ { - xmlDocPtr newdocp; + xmlDocPtr newdocp = NULL; xmlDocPtr doc = NULL; xmlNodePtr node = NULL; xsltTransformContextPtr ctxt;