Memory leak in RestDataSource.transformRequest?

Hi,
I noticed a small memory leak when opening and closing a grid and retrieving information. A DataSource is created but not destroyed. After some debugging I found this line in RestDataSource.transformRequest

var ds = isc.DataSource.create({
fields:[
{name:“data”, multiple:true, type:this.getID()},
{name:“oldValues”, type:this.getID()}
]
});

The local var ds is used to serialize something but then the datasource is not destroyed so a global pointer remains to it.

Is this indeed a bug/memory leak or am I missing something?

Btw, I am using the 8.1 build of 27th of September (on chrome/linux).

gr. Martin

Bumped…

gr. Martin

And fixed. Fix will be present in the next nightly (Oct 6 or greater)
Regards

Isomorphic Software