diff options
author | foobar <sniper@php.net> | 2005-05-10 11:21:19 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-05-10 11:21:19 +0000 |
commit | 295719fa326af59714bb6d3a99db2fb077f231e2 (patch) | |
tree | 0eda7b42548ef8b35b66cb4b301e97e86388dd82 | |
parent | 6e516e22144874ad7d7122f50d5b2f492c31b883 (diff) | |
download | php-git-295719fa326af59714bb6d3a99db2fb077f231e2.tar.gz |
Revert the memleak fix due to net-snmp oddity (see also bug #32613)
-rw-r--r-- | ext/snmp/php_snmp.h | 1 | ||||
-rw-r--r-- | ext/snmp/snmp.c | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h index da881b50e4..415ce03d41 100644 --- a/ext/snmp/php_snmp.h +++ b/ext/snmp/php_snmp.h @@ -39,7 +39,6 @@ extern zend_module_entry snmp_module_entry; #endif PHP_MINIT_FUNCTION(snmp); -PHP_MSHUTDOWN_FUNCTION(snmp); PHP_MINFO_FUNCTION(snmp); PHP_FUNCTION(snmpget); diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 934da58e65..60c90c79ae 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -156,7 +156,7 @@ zend_module_entry snmp_module_entry = { "snmp", snmp_functions, PHP_MINIT(snmp), - PHP_MSHUTDOWN(snmp), + NULL, NULL, NULL, PHP_MINFO(snmp), @@ -208,16 +208,6 @@ PHP_MINIT_FUNCTION(snmp) } /* }}} */ -/* {{{ PHP_MSHUTDOWN_FUNCTION - */ -PHP_MSHUTDOWN_FUNCTION(snmp) -{ - snmp_shutdown("snmpapp"); - - return SUCCESS; -} -/* }}} */ - /* {{{ PHP_MINFO_FUNCTION */ PHP_MINFO_FUNCTION(snmp) |