fixes pointed out by Michael and Axel, thanks for pointing those out.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Modeen 2008-09-12 18:06:52 +00:00
parent b57520d4a9
commit 80f39d66d4

View File

@ -574,8 +574,8 @@ IconView::MessageReceived(BMessage* message)
if (message->WasDropped() && message->ReturnAddress() != BMessenger(this)
&& AcceptsDrag(message)) {
// set icon from message
BBitmap *mini = NULL;
BBitmap *large = NULL;
BBitmap* mini = NULL;
BBitmap* large = NULL;
const uint8* data = NULL;
ssize_t size = 0;
@ -597,9 +597,9 @@ IconView::MessageReceived(BMessage* message)
_SetIcon(&ref);
}
delete(large);
delete(mini);
delete(data);
delete large;
delete mini;
delete data;
return;
}