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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user