Fix to prevent double delete of icon arrays in ListView RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Mon, 01 Nov 2010 14:12:51 +0000
branchRCL_3
changeset 327 b4560769586d
parent 326 255972d41940
child 328 75a70f4a4f6d
Fix to prevent double delete of icon arrays in ListView
application/src/PodcastListView.cpp
--- a/application/src/PodcastListView.cpp	Mon Nov 01 14:06:24 2010 +0000
+++ b/application/src/PodcastListView.cpp	Mon Nov 01 14:12:51 2010 +0000
@@ -214,7 +214,9 @@
 
 CPodcastListContainer::~CPodcastListContainer()
 {
-	delete iListbox;
+	iListboxLandscape->ItemDrawer()->ColumnData()->SetIconArray(NULL);
+	delete iListboxPortrait;
+	delete iListboxLandscape;
 	delete iBgContext;
 }