diff options
author | Rui Hirokawa <hirokawa@php.net> | 2001-06-10 09:41:43 +0000 |
---|---|---|
committer | Rui Hirokawa <hirokawa@php.net> | 2001-06-10 09:41:43 +0000 |
commit | fd46c91466ad8bd41f300a5afa68c422cac4e290 (patch) | |
tree | 68572e99cc3343bb9e8e29b9bc6d88eea52cc074 /ext/xslt/php_sablot.h | |
parent | 22e506727c2581fef34b9914256067daf19cc7ca (diff) | |
download | php-git-fd46c91466ad8bd41f300a5afa68c422cac4e290.tar.gz |
modified code freeing resouce which causes segmentation fault.
Diffstat (limited to 'ext/xslt/php_sablot.h')
-rw-r--r-- | ext/xslt/php_sablot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xslt/php_sablot.h b/ext/xslt/php_sablot.h index 1c63c68154..f494fba848 100644 --- a/ext/xslt/php_sablot.h +++ b/ext/xslt/php_sablot.h @@ -46,6 +46,8 @@ extern zend_module_entry xslt_module_entry; #define XSLT_ERRSTR(handle) ((handle)->err->str) #define XSLT_LOG(handle) ((handle)->err->log) +#define XSLT_FUNCH_FREE(__var) if (__var) zval_ptr_dtor(&(__var)); + PHP_MINIT_FUNCTION(xslt); PHP_MINFO_FUNCTION(xslt); |