It looks like you're new here. If you want to get involved, click one of these buttons!Sign In Register
It looks like you're new here. If you want to get involved, click one of these buttons!
i am currently developing a RecordReplay method to record a custom dynamic structure.
The structure looks like that:
It works very good for recording.
When i am trying to implement the replay method, i read the recorded header, allocate buffer for the Array and read the data into the array.
All of this works well, except that it creates a huge memory leak, as it seems that the array buffer is not freed.
If i would write a standard component, i would inherit the MAPSCustomDynamicStructureComponent class as public.
How can i achieve freeing buffers with this setup?