calendarui/controller/src/calentoolbarimpl.cpp
branchRCL_3
changeset 60 96907930389d
parent 36 9c5b1510919f
child 67 1539a383d7b6
--- a/calendarui/controller/src/calentoolbarimpl.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/controller/src/calentoolbarimpl.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -123,6 +123,10 @@
         CAknButtonState* state = button->State();  // get current button state, not own
         state->SetIcon( aIcon );
         }
+	else
+		{
+		delete aIcon;
+		}
     iCalenToolbar->DrawDeferred();
     TRACE_EXIT_POINT;
     }