fixes revert.. the memory leak is in function getresourcesframerender.. the rawData byte array is somehow not free'd