Memory leak report

Majdi Abuelbassal Majdi.Abuelbassal____ttimail.com
Thu Aug 3 22:56:55 CEST 2000


Frank,

I found the following memory leak in agentx++:

file: 	agentx_master.cpp
method: 	MasterAgentXMib::process_agentx()
Description:
timeout is instantiated at the start but in three places there is a return
back without deleting it. you need to add:
 > if (timeout) delete timeout;


I also found a memory leak in agent++

file: v3_mib.cpp
method: UsmUserTable::UsmUserTable(...)
Description:
whenever the variable get deleted you need to use delete [], rather than
delete.
user->usmUserEngineID
user->usmUserName
user->usmSecurityName


------
Majdi Abuelbassal 
Telecom Technologies, Inc.  | e-mail: majdi at ieee.org
Suite 3000	                |   home: mbsoul at att.net 
1701 N. Collins Blvd.       |  Phone: (972) 680-6354
Richardson, TX 75080        |    FAX: (972) 301-4903




More information about the AGENTPP mailing list