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:
parent
b57520d4a9
commit
80f39d66d4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user