Open lvonasek opened 7 years ago
Thank you for the bug report lvonasek, we are currently looking into it.
Thank you. The problem happens also after calling Tango3DR_TexturingContext_destroy
After update on Tango Ikariotikos memory leaks in Tango3DR_TexturingContext seems to be fixed but the problem with Tango3DR_clear still stays
Issue stays in release m20.
When I use Tango3DR_clear it removes data from it but it does not deallocate memory (it is problem for texturing and reconstruction context). Also Tango3DR_ReconstructionContext_destroy does not deallocate it completely.
I did following test with cpp_mesh_builder_example: -change resolution: Tango3DR_Config_setDouble(t3dr_config, "resolution", 0.005); -make it scan more far: Tango3DR_Config_setDouble(t3dr_config, "max_depth", 7.5); -remove mesh extraction (it is too slow for test) -do measurement when clear button is pressed:
result:![tango_hopak_leak](https://cloud.githubusercontent.com/assets/6472545/25773153/ead4b33a-3278-11e7-8118-6024115f3399.png)