Zarillo,
After looking into this memory issue, There is a problem but I may need to talk to TGC about it. Basically, functions such as:
ODE_CreateStaticUniverse
ODE_CreateStaticTriangleMesh
Allocate large vertex data structures which are passed directly into ODE. Now ODE does not allocate memory again, but merely sets up const pointers into the vertex data that was allocated by the DBP (DGDK) plugin. What I can't determine yet is if and when ODE is asked to destroy a Geom, that it frees this memory itself, or it merely looses the pointer references. If the latter is the case, then yes, there is a memory issue. Basically I will probably need to add code to track all memory allocations in the plugin, and free them whenever the system destroys an ODE body, or free them altogether when the plugin is relinquished by the program.
Either way, I'm making progress.
Paul.