--- a/httpfilters/cookie/ManagerSrc/CookieIPC.cpp Thu Aug 19 10:27:19 2010 +0300
+++ b/httpfilters/cookie/ManagerSrc/CookieIPC.cpp Tue Aug 31 15:44:10 2010 +0300
@@ -526,7 +526,11 @@
while ( bufferPtr < bufferEndPtr )
{
+ // coverity [alloc_fn]
+ // coverity [assign]
CCookie* cookie = CCookie::NewL( iStringPool );
+
+ // coverity [push]
CleanupStack::PushL( cookie );
UnpackCookieL( bufferPtr, *cookie );
@@ -540,9 +544,11 @@
// The cookie pointer array (i.e. iCookies) takes over the
// ownership
User::LeaveIfError( aCookies.Append( cookie ) );
-
+
+ // coverity [pop]
CleanupStack::Pop(); // cookie
}
+ // coverity [memory_leak]
}
}