eapol/eapol_framework/eapol_symbian/am/type/tls_peap/symbian/EapTlsPeapCertInterface.cpp
branchRCL_3
changeset 8 66f897dce0dc
parent 2 1c7bc153c08e
child 18 bad0cc58d154
--- a/eapol/eapol_framework/eapol_symbian/am/type/tls_peap/symbian/EapTlsPeapCertInterface.cpp	Fri Feb 19 22:53:42 2010 +0200
+++ b/eapol/eapol_framework/eapol_symbian/am/type/tls_peap/symbian/EapTlsPeapCertInterface.cpp	Mon Mar 15 12:40:54 2010 +0200
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 42 %
+* %version: 43 %
 */
 
 // This is enumeration of EAPOL source code.
@@ -143,7 +143,10 @@
 	delete iSignature;
 	delete iPtrOut;
 	delete iSignaturePtr;
-	
+	delete iRSASignature;
+	delete iDSASignature;
+	delete iKeyFilter;
+		
 	iFs.Close();	
 	
 	EAP_TRACE_DEBUG(
@@ -2312,6 +2315,9 @@
 				iParent->complete_sign(R, reinterpret_cast<const RInteger&>(iRSASignature->S()), eap_status_ok);
 				
 				CleanupStack::PopAndDestroy();
+
+				delete iRSASignature;
+				iRSASignature = 0;
 				
 				iRSASigner->Release(); // This seems to be needed.
 			}
@@ -2319,6 +2325,9 @@
 			{
 				iParent->complete_sign(reinterpret_cast<const RInteger&>(iDSASignature->R()), 
 					reinterpret_cast<const RInteger&>(iDSASignature->S()), eap_status_ok);
+
+				delete iDSASignature;
+				iDSASignature = 0;
 				
 				iDSASigner->Release(); // This seems to be needed.
 			}