Hi! 
We are using the latest net_snmp version (net_snmp-5.1.2). Two source
files snmp_api.c & snmp_client.c does not free the memory that was
allocated in several places. I run a purify and discover these memory
leaks. 

Here is some examples:

vars = (netsnmp_variable_list *) malloc(sizeof(netsnmp_variable_list));
     if (vars == NULL)   
        return NULL;  
        

 if (vars->val.objid == NULL) {
            return NULL;
        }       


Best Regards 
/Khalif


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to