From 8ab1490ec9debc23bf85c8b7fd494d05b1abdeaa Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 25 Nov 2013 23:33:25 +0100 Subject: [PATCH] fix use of already destroyed hashtable with phpdbg --- package.xml | 6 +++--- php_raphf.c | 1 + php_raphf.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.xml b/package.xml index 5dbc3fb..ad63c1d 100644 --- a/package.xml +++ b/package.xml @@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd"> mike@php.net yes - 2013-11-15 + 2013-11-25 - 1.0.3 + 1.0.4 1.0.0 @@ -30,7 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> BSD, revised diff --git a/php_raphf.c b/php_raphf.c index 1f98145..e2ff95c 100644 --- a/php_raphf.c +++ b/php_raphf.c @@ -592,6 +592,7 @@ PHP_MINIT_FUNCTION(raphf) PHP_MSHUTDOWN_FUNCTION(raphf) { UNREGISTER_INI_ENTRIES(); + php_persistent_handles_global_hash = NULL; return SUCCESS; } diff --git a/php_raphf.h b/php_raphf.h index 9590f40..3958146 100644 --- a/php_raphf.h +++ b/php_raphf.h @@ -16,7 +16,7 @@ extern zend_module_entry raphf_module_entry; #define phpext_raphf_ptr &raphf_module_entry -#define PHP_RAPHF_VERSION "1.0.3" +#define PHP_RAPHF_VERSION "1.0.4" #ifdef PHP_WIN32 # define PHP_RAPHF_API __declspec(dllexport) -- 2.30.2