Fix leak in snmp

This commit is contained in:
Nikita Popov 2020-09-10 23:19:25 +02:00
parent 7b0a053169
commit 79efbb1579

View file

@ -490,6 +490,7 @@ retry:
if (st & SNMP_CMD_SET) {
if (objid_query->offset < objid_query->count) { /* we have unprocessed OIDs */
keepwalking = 1;
snmp_free_pdu(response);
continue;
}
snmp_free_pdu(response);