From 86593f5d1ed5098b5b393c98cc5057c2fd7636da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96nnerby?= Date: Mon, 5 May 2008 08:21:03 +0000 Subject: [PATCH] Fixed leaking in the SourceView. --- src/cube/SourcesView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cube/SourcesView.cpp b/src/cube/SourcesView.cpp index 1940bfce9..ce0afd20f 100644 --- a/src/cube/SourcesView.cpp +++ b/src/cube/SourcesView.cpp @@ -48,7 +48,7 @@ using namespace musik::cube; /*ctor*/ SourcesView::SourcesView() : lastHotRowIndex(-1) -, listView(new ListView()) +, listView(NULL) , defaultView(new Label(_T("No item selected. You shouldn't see this!"))) { this->listView = new ListView();