mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +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() :
|
bcORBComponent::bcORBComponent() :
|
||||||
orb(0)
|
orb(0)
|
||||||
@ -50,17 +50,17 @@ bcORBComponent::bcORBComponent() :
|
|||||||
|
|
||||||
bcORBComponent::~bcORBComponent() {
|
bcORBComponent::~bcORBComponent() {
|
||||||
if (orb) {
|
if (orb) {
|
||||||
delete orb; //nb should we destroy it?
|
delete orb; //nb should we destroy it?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP bcORBComponent::GetORB(bcIORB **_orb) {
|
NS_IMETHODIMP bcORBComponent::GetORB(bcIORB **_orb) {
|
||||||
if (!_orb) {
|
if (!_orb) {
|
||||||
printf("--bcORBComponent::GetORB\n");
|
printf("--bcORBComponent::GetORB\n");
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
}
|
}
|
||||||
if (!orb) {
|
if (!orb) {
|
||||||
orb = new ORB();
|
orb = new ORB();
|
||||||
}
|
}
|
||||||
*_orb = orb;
|
*_orb = orb;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user