Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory leak with _VAR type variable in ORBIX

Status
Not open for further replies.

mohanty

Programmer
Mar 27, 2000
5
0
0
US
Hi guys <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;CORBA::Object_release (perms);<br>&nbsp;&nbsp;&nbsp;Permissions_var perms_var;<br>&nbsp;&nbsp;&nbsp;perms_var = perms;<br>&nbsp;&nbsp;&nbsp;perms = 0;<br><br>Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top