mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix leak in snmp
This commit is contained in:
parent
7b0a053169
commit
79efbb1579
1 changed files with 1 additions and 0 deletions
|
@ -490,6 +490,7 @@ retry:
|
||||||
if (st & SNMP_CMD_SET) {
|
if (st & SNMP_CMD_SET) {
|
||||||
if (objid_query->offset < objid_query->count) { /* we have unprocessed OIDs */
|
if (objid_query->offset < objid_query->count) { /* we have unprocessed OIDs */
|
||||||
keepwalking = 1;
|
keepwalking = 1;
|
||||||
|
snmp_free_pdu(response);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
snmp_free_pdu(response);
|
snmp_free_pdu(response);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue