It is okay to delete dragMessage even if it is NULL. Not worth the branch.
This commit is contained in:
parent
8f29b6e639
commit
8cf6d28f99
@ -120,7 +120,6 @@ BarViewMessageFilter::Filter(BMessage* message, BHandler** target)
|
||||
break;
|
||||
}
|
||||
|
||||
if (message->HasMessage("be:drag_message"))
|
||||
delete dragMessage;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user