Fix for bug 3244 - new feed not removed from cleanupstack when parsing OPML
authorSebastian Brannstrom <sebastianb@symbian.org>
Wed, 14 Jul 2010 14:53:21 +0100
changeset 180 74d497f911e0
parent 178 fa306d80bb60
child 185 92eadaba67e6
Fix for bug 3244 - new feed not removed from cleanupstack when parsing OPML
engine/src/OpmlParser.cpp
--- a/engine/src/OpmlParser.cpp	Wed Jul 14 10:59:38 2010 +0100
+++ b/engine/src/OpmlParser.cpp	Wed Jul 14 14:53:21 2010 +0100
@@ -148,6 +148,7 @@
 			}
 
 			if (!hasUrl) {
+				CleanupStack::PopAndDestroy(newFeed);
 				break;
 			}