javacommons/security/src.s60/ocspclient.cpp
changeset 80 d6dafc5d983f
parent 21 2a9601315dfc
--- a/javacommons/security/src.s60/ocspclient.cpp	Mon Oct 04 11:29:25 2010 +0300
+++ b/javacommons/security/src.s60/ocspclient.cpp	Fri Oct 15 12:29:39 2010 +0300
@@ -294,6 +294,7 @@
         delete iCertArray;
     }
     COCSPParameters* ocspParams = COCSPParameters::NewL();
+    CleanupStack::PushL(ocspParams);
     if (iDefaultUrl)
     {
         ocspParams->SetURIL(*iDefaultUrl, ETrue);
@@ -323,6 +324,7 @@
         }
     }
     iOcspClient = COCSPClient::NewL(ocspParams);
+    CleanupStack::Pop(ocspParams);
 }
 
 OcspResponse* OcspResponse::NewL()