THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/05/2012 at 03:27, xxxxxxxx wrote:
Cinema 4D Version: 13
Platform: Mac OSX ;
Language(s) : C++ ;
I'm getting a whole lot of memory leak warnings like after using std:str a number of times in a function. It seams like they are not destroyed after leaving the function, which afaik they should be.
std::string dname = bc->GetFilename(FILENAME_CACHEDIR).GetString().GetCStringCopy();
Since there is no destructor for std::str that I know of, any idea how to free the memory?