Memory leak passing structure parameters as in/out

Hallo all,

I’m using RemObjects 6.0.39.777 with Delphi 2009.

I’ve a problem calling procedure passing Structure parameters as in/out.
It generetes a memory leak in the client.

I’ve written a little test case

Is this a known problem?

Thanks in advance

Check the documentation here:

http://wiki.remobjects.com/wiki/Remote_Object_Allocation_and_Serialization_(Delphi)

Pay attention to the bit about var parameters. You need to free both the copy you pass in and the copy you get back from the server. This is by-design.