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 <Debug.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <AppFileInfo.h>
|
#include <AppFileInfo.h>
|
||||||
@@ -576,7 +576,7 @@ TBarApp::Unsubscribe(const BMessenger &subscriber)
|
|||||||
BMessenger *messenger = (BMessenger *)sSubscribers.ItemAt(i);
|
BMessenger *messenger = (BMessenger *)sSubscribers.ItemAt(i);
|
||||||
if (*messenger == subscriber) {
|
if (*messenger == subscriber) {
|
||||||
sSubscribers.RemoveItem(i);
|
sSubscribers.RemoveItem(i);
|
||||||
delete (messenger);
|
delete messenger;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user