Fixed leaking in the SourceView.

This commit is contained in:
Daniel Önnerby 2008-05-05 08:21:03 +00:00
parent 67186e6eca
commit 86593f5d1e

View File

@ -48,7 +48,7 @@ using namespace musik::cube;
/*ctor*/ SourcesView::SourcesView() /*ctor*/ SourcesView::SourcesView()
: lastHotRowIndex(-1) : lastHotRowIndex(-1)
, listView(new ListView()) , listView(NULL)
, defaultView(new Label(_T("No item selected. You shouldn't see this!"))) , defaultView(new Label(_T("No item selected. You shouldn't see this!")))
{ {
this->listView = new ListView(); this->listView = new ListView();