malloc.h ain't no standard header. Small style change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27610 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-09-18 07:02:15 +00:00
parent c2831e444a
commit 3534ce57f0

View File

@ -33,7 +33,7 @@ All rights reserved.
*/
#include <Debug.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <AppFileInfo.h>
@ -576,7 +576,7 @@ TBarApp::Unsubscribe(const BMessenger &subscriber)
BMessenger *messenger = (BMessenger *)sSubscribers.ItemAt(i);
if (*messenger == subscriber) {
sSubscribers.RemoveItem(i);
delete (messenger);
delete messenger;
break;
}
}
@ -654,7 +654,7 @@ TBarApp::AddTeam(team_id team, uint32 flags, const char *sig, entry_ref *ref)
void
TBarApp::RemoveTeam(team_id team)
TBarApp::RemoveTeam(team_id team)
{
BAutolock autolock(sSubscriberLock);
if (!autolock.IsLocked())