RE: memory leak in SMTI_VerifyRSA
"Colestock, Robert" <[email protected]>
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
Margaret: You are correct; thank you for pointing this out. It has been corrected for the next SFL release. The fix is to simply check for non-NULL pointers upon return from SMTI_VerifyRSA and delete the pointer memory. Bob Colestock VDA -----Original Message----- From: Margaret Cyrzan [mailto:[email protected]] Sent: Monday, June 05, 2000 1:43 PM To: [email protected] Subject: memory leak in SMTI_VerifyRSA I think there is a memory leak associated with the two variables, palgoid and pdigoid, in the CSM_Free3::SMTI_VerifyRSA function. It happens because the following lines return newly allocated memory that is not delete later on: palgoid = pSignatureAlg->GetId(); pdigoid = pDigestAlg->GetId(); Can someone verify this for me? Thanks, Margaret ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com