cvs: php4 /ext/sablot sablot.c

From: Date: Sun, 03 Dec 2000 15:30:14 +0000
Subject: cvs: php4 /ext/sablot sablot.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2879@lists.php.net to get a copy of this message
sterling Sun Dec 3 07:30:14 2000 EDT Modified files: /php4/ext/sablot sablot.c Log: Windows ist ser schlecht Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.19 php4/ext/sablot/sablot.c:1.20 --- php4/ext/sablot/sablot.c:1.19 Sat Dec 2 02:28:55 2000 +++ php4/ext/sablot/sablot.c Sun Dec 3 07:30:14 2000 @@ -175,11 +175,8 @@ /* MINIT and MINFO Functions */ PHP_MINIT_FUNCTION(sablot) { - SABLOTLS_FETCH(); le_sablot = zend_register_list_destructors_ex(_php_sablot_free_processor, NULL, "Sablotron XSLT", module_number); - SABLOTG(processor) = NULL; - return SUCCESS; } @@ -255,7 +252,7 @@ buffer = estrndup(OG(active_ob_buffer).buffer, OG(active_ob_buffer).text_length); /* Nake sure there is data to send */ - if (strlen(buffer)) { + if (OG(active_ob_buffer).text_length) { char *args[] = {"/_xmlinput", buffer, "/_output", NULL}; @@ -1347,6 +1344,7 @@ FUNCH_FREE(handle->endDocHandler); SABLOT_FREE_ERROR_HANDLE(*handle); + efree(handle); } /* }}} */

« previous php.cvs (#2879) next »