--- a/smsprotocols/smsstack/wapprot/Src/wappstor.cpp Fri Apr 16 16:12:37 2010 +0300
+++ b/smsprotocols/smsstack/wapprot/Src/wappstor.cpp Mon May 03 13:37:20 2010 +0300
@@ -50,6 +50,7 @@
(ELeave) CArrayPtrFlat<CWapDatagram::TSegmentData> (8);
CleanupStack::PushL(segmentArray);
+ // coverity[double_push]
CleanupResetAndDestroyPushL(*segmentArray);
TBool isComplete = aDatagram.IsComplete();
@@ -205,6 +206,7 @@
// here we need to push 'segmentArray' pointer to the cleanup stack, since it's a heap allocation (pointer must be deleted)
// CleanupResetAndDestroyPushL() just trigers ResetAndDestroy() to be called on CleanupStack::PopAndDestroy()
CleanupStack::PushL(segmentArray);
+ // coverity[double_push]
CleanupResetAndDestroyPushL(*segmentArray);
// defect fix for EDNJJUN-4WYJGP