<div><font face="arial,helvetica,sans-serif">I am storing the result in a _CORBA_ObjRef_Var. Should I be storing it in a _CORBA_ObjRef_Var* ? Then should I be calling delete on the _CORBA_ObjRef_Var* ?</font></div>
<div> </div>
<div><font face="arial,helvetica,sans-serif">Thanks<br></font></div>
<div class="gmail_quote">On Thu, Sep 1, 2011 at 10:44 AM, Brian Neal <span dir="ltr"><<a href="mailto:bgneal@gmail.com">bgneal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2011/9/1 Pearl Rothman <<a href="mailto:prothman@gmail.com">prothman@gmail.com</a>>:<br>
<div class="im">> Hi,<br>><br>> Is there a way for me to release memory of an object that was allocated<br>> using string_to_object but is no longer being used?<br><br></div>If you are using C++, store the result of string_to_object() in a<br>
*_var. The _var will call CORBA::release() on the object reference<br>when the var goes out of scope. For more information, see the IDL to<br>C++ language mapping or the Henning & Vinoski book.<br><br>Best,<br><font color="#888888">BN<br>
</font></blockquote></div><br>