CID 1740: Memory leak in Backgrounds since Show doesn't take ownership of the info (code is commented)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38029 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-11 14:37:40 +00:00
parent aa6c140bc2
commit 74add97b47
@@ -923,6 +923,8 @@ BackgroundsView::_UpdatePreview()
fPreView->fImageBounds = BRect(bitmap->Bounds());
fCurrent->Show(info, fPreView);
delete info;
}
} else
fPreView->SetEnabled(false);