Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #838: GetCamera does memory leak
Product:
TV3D SDK 6.5
Language:
C++
Current State:
Closed
Resolution:
Not a Bug
Created On:
October 21st, 2009
Last Modified:
November 13th, 2009
Reported By:
Chris_SHX
When i'm using for example 10 scene.GetCamera()->.... instructions then i see memory leak in my task manager. It eats RAM and increases pagefile usage by 100-700KB per second.

I have a solution to avoid them:
- use of CTVCamera class
- call GetCamera before main loop

but i think it can be fixed !

Comments:

Posted by SylvainTV on November 13th, 2009 at 12:28 AM
This is actually how it works in the engine (wrappers and c++ classes).
You must delete every object that you get from the engine.
In the next major version of the engine, it will be ref counted.