diff options
author | Zeev Suraski <zeev@php.net> | 2001-05-05 01:42:15 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-05-05 01:42:15 +0000 |
commit | 52ba317606e79e34dd984ab587b71acab28050a7 (patch) | |
tree | 0a3ffbfc3154896b2d1d946170b15631c7b63961 /ext/mysql/php_mysql.h | |
parent | 853bf327707b441c1c4a46b23cf8dc8d6be9130f (diff) | |
download | php-git-52ba317606e79e34dd984ab587b71acab28050a7.tar.gz |
emalloc()'d strings must be freed before the request shutdown;
Rule of the thumb: initialize in RINIT, clean in RSHUTDOWN
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r-- | ext/mysql/php_mysql.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h index 8e3fb71870..aa2213963b 100644 --- a/ext/mysql/php_mysql.h +++ b/ext/mysql/php_mysql.h @@ -41,6 +41,7 @@ extern zend_module_entry mysql_module_entry; extern PHP_MINIT_FUNCTION(mysql); extern PHP_RINIT_FUNCTION(mysql); extern PHP_MSHUTDOWN_FUNCTION(mysql); +extern PHP_RSHUTDOWN_FUNCTION(mysql); PHP_MINFO_FUNCTION(mysql); PHP_FUNCTION(mysql_connect); |