Hi,
Is there any reason why this function does not close the associated
session?
<-----CODE-SEGMENT--------- [ from snmpTargetAddrEntry.c ]
void
snmpTargetAddrTable_dispose(struct targetAddrTable_struct *reaped)
{
SNMP_FREE(reaped->name);
SNMP_FREE(reaped->tAddress);
SNMP_FREE(reaped->tagList);
SNMP_FREE(reaped->params);
SNMP_FREE(reaped);
}
----------------------------------------->
I mean, I think that this line should be added:
<-----CODE-SEGMENT---------
snmp_close(reaped->sess)
---------------------------------------->
Can you confirm it is a bug?
Cheers,
Erez
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders