diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-31 05:44:11 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-31 05:44:11 +0000 |
commit | aa1772ca7263173ee47af0d83fea866f194757ba (patch) | |
tree | a8ea8932a07875a43423a8ffcd0100eab0c0f8a7 /ext/mnogosearch/php_mnogo.c | |
parent | 57507b4ea6bb2a38578444ca8359806f241fa8f5 (diff) | |
download | php-git-aa1772ca7263173ee47af0d83fea866f194757ba.tar.gz |
More TSRMLS_FETCH annihilation
Diffstat (limited to 'ext/mnogosearch/php_mnogo.c')
-rw-r--r-- | ext/mnogosearch/php_mnogo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/mnogosearch/php_mnogo.c b/ext/mnogosearch/php_mnogo.c index 56f0f4faf0..9efe54cbc7 100644 --- a/ext/mnogosearch/php_mnogo.c +++ b/ext/mnogosearch/php_mnogo.c @@ -160,13 +160,15 @@ zend_module_entry mnogosearch_module_entry = { ZEND_GET_MODULE(mnogosearch) #endif -static void _free_udm_agent(zend_rsrc_list_entry *rsrc){ +static void _free_udm_agent(zend_rsrc_list_entry *rsrc TSRMLS_DC) +{ UDM_AGENT * Agent = (UDM_AGENT *)rsrc->ptr; UdmFreeEnv(Agent->Conf); UdmFreeAgent(Agent); } -static void _free_udm_res(zend_rsrc_list_entry *rsrc){ +static void _free_udm_res(zend_rsrc_list_entry *rsrc TSRMLS_DC) +{ UDM_RESULT * Res = (UDM_RESULT *)rsrc->ptr; UdmFreeResult(Res); } |