Hello all!
 
I am trying to track down a memory leak.  If you could take a quick glance at the following code sniplets.  In an event, I have a local datastore that I pass to a response window as a parm.  The response window will process information in the datastore and return it to the caller.

   lds = create datastore
   ...
   openWithParm(w_aResponseWindow, lds)
   lds = message.powerObjectParm
   ...
   destroy lds
 

Then, in the open event of w_aResponseWindow:
 
   datastore lds_parm
 
   lds_parm = message.powerObjectParm
   lds_parm.setItem(ll_row, "column", "hello")
   closeWithReturn(lds_parm)
 

My question is this... when I send lds to the window on the powerObjectParm, does it create a second copy, and then when I pull it back off, do I have yet another copy and yet only destroy one of them?
 
Thanks,
 
Daniel

Reply via email to