mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 19:10:36 +00:00
*not part of the build*
fix for 56706
This commit is contained in:
parent
3d0fc5e90d
commit
88e2071520
@ -40,7 +40,7 @@ NS_IMPL_NSGETMODULE("BlackConnectORB component",components);
|
||||
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS(bcORBComponent,NS_GET_IID(bcORBComponent));
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS(bcORBComponent,NS_GET_IID(bcORBComponent));
|
||||
|
||||
bcORBComponent::bcORBComponent() :
|
||||
orb(0)
|
||||
@ -50,17 +50,17 @@ bcORBComponent::bcORBComponent() :
|
||||
|
||||
bcORBComponent::~bcORBComponent() {
|
||||
if (orb) {
|
||||
delete orb; //nb should we destroy it?
|
||||
delete orb; //nb should we destroy it?
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP bcORBComponent::GetORB(bcIORB **_orb) {
|
||||
if (!_orb) {
|
||||
printf("--bcORBComponent::GetORB\n");
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
printf("--bcORBComponent::GetORB\n");
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
if (!orb) {
|
||||
orb = new ORB();
|
||||
orb = new ORB();
|
||||
}
|
||||
*_orb = orb;
|
||||
return NS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user