Bug #13479 Updated: major resource leak

From: Date: Mon, 15 Oct 2001 18:37:10 +0000
Subject: Bug #13479 Updated: major resource leak
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67967@lists.php.net to get a copy of this message
ID: 13479 Updated by: ssb Reported By: Padraig@linux.ie Old Status: Open Status: Closed Bug Type: SNMP related Operating System: PHP Version: 4.0.6 New Comment: Fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2001-09-28 10:57:38] Padraig@linux.ie Before every RETURN_FALSE; you should snmp_clse(ss); A diff against the latest /ext/snmp/snmp.c (1.51) is available at: http://www.iol.ie/~padraiga/snmp-1.51-snmpclose.diff Note this happens a lot in my experience as there is a lot of code that does: while (snmpget(...)) { .... } ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13479&edit=1

« previous php.dev (#67967) next »