Re: [PHP-DEV] efree() crash when used in a shutdown function (solved)

2003-12-04 Thread Jani Taskinen
Thank you very much! You solved my problem too. :) --Jani On Thu, 4 Dec 2003, Frank M. Kromann wrote: > >Hi, > >It helps to break for lunch. Making this variable persistant solved the >problem. > >- Frank >> Hi, >> >> >From the pecl/printer extension: >> >> static void php_pr

Re: [PHP-DEV] efree() crash when used in a shutdown function (solved)

2003-12-04 Thread Frank M. Kromann
Hi, It helps to break for lunch. Making this variable persistant solved the problem. - Frank > Hi, > > >From the pecl/printer extension: > > static void php_printer_shutdown(zend_printer_globals *printer_globals > TSRMLS_DC) { > if (printer_globals->default_printer) { > efr

[PHP-DEV] efree() crash when used in a shutdown function

2003-12-04 Thread Frank M. Kromann
Hi, >From the pecl/printer extension: static void php_printer_shutdown(zend_printer_globals *printer_globals TSRMLS_DC) { if (printer_globals->default_printer) { efree(printer_globals->default_printer); } } PHP_MINIT_FUNCTION(printer) { ZEND_INIT_MODULE_GLOBAL