[omniORB] Free object reference through ClassFactory ?

edward_lin edward_lin@EGPALM.com.tw
Thu, 7 Jun 2001 18:05:17 +0800


Hi, Dears
If a corba client creates a corba object reference through the specified
class factory using POA, should the object reference be freed when the
client doesn't need it any more?

MyClassFactory_var		theFactory;
MyClass_var			theObj;

theObj = theFactory->create();
// do something on "theObj"

// need to free ?
theFactory->destroy( theObj );

Best Regards,
Edward Lin