ParallelGraphics Forums
Cortona VRML Client
You are here: [Forums]::[Browsers]::[Cortona VRML Client]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   Browsers - Cortona VRML Client

Subject: Re: [ rootNodes->Clear() ] Memory Leak?
Sender: Andrea B 3.09.07 03:25
Hi,
[...]
This code deletes the nodes from the scene, but it doesn't deallocate the memory... How can I remove effectively from the memory all these nodes?

Obviously I posted the wrong code... Here's the right one:


if ( SUCCEEDED(pCortEngine->get_RootNodes(&nodes)) && SUCCEEDED(nodes->Clear()))
res=true;

Thanks in advance.

 


[ rootNodes->Clear() ] Memory Leak? / Andrea B / 31.08.07 12:35
     Re: [ rootNodes->Clear() ] Memory Leak? / Andrea B / 3.09.07 03:25

Messages in thread: 2


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.