diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-09-23 18:26:02 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-09-23 18:26:02 +0000 |
commit | b9823393ea40cdaa06139d6fdcba75306bfa82a7 (patch) | |
tree | 6057b3fa5efc4fd65c5b43a2fb93b0248467af5c /ext/snmp | |
parent | a7ac56848681aa69c00701b57c8915e3f374e732 (diff) | |
download | php-git-b9823393ea40cdaa06139d6fdcba75306bfa82a7.tar.gz |
Fixed bug #25636 (SNMP Session not closed on success).
Patch by: nesslage[at]mwsc[dot]edu
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 3ecf05a52a..1e96aef984 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -427,6 +427,7 @@ retry: if (st == 1) { *return_value = *snmpval; zval_copy_ctor(return_value); + snmp_close(ss); return; } else if (st == 2) { *return_value = *snmpval; |