Fixed a memory leak and the bug that could result in "pick one" menu fields and a

white desktop preview background: it happened if the attribute containing the data
couldn't be read or unflattened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19948 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-01-24 19:56:56 +00:00
parent 5f5d917ad1
commit 69cc7ad640

View File

@ -88,7 +88,7 @@ BackgroundImage::GetBackgroundImage(const BNode *node, bool isDesktop,
delete [] buffer;
if (error != B_OK)
return NULL;
return result;
PRINT_OBJECT(container);