Hi guys <br> In my application the following is code extract of a cleanup routine that should release memory of the perms object . But sometime is crashes as soon as finishes the last line . Can somebody exactly tell me how Object_release work exactly and what effect we will have upon assigning a _PTR to a _VAR varible .<br><br> CORBA::Object_release (perms);<br> Permissions_var perms_var;<br> perms_var = perms;<br> perms = 0;<br><br>Thanks