Hello Jie Liu,

Jie Liu wrote:
> I found in those examples that some objects are never explicitly deleted 
> while they seem to have no ref counting.

yes, that may be the case and in most cases the objects involved will be 
needed until the program exits (at which point the runtime/OS deletes 
them anyway or at least reclaims the memory).

> I think these will mislead users and might ignore potential risks.

well, I think there are other, steeper points in the learning curve for 
OpenSG beginners and while these cases are indeed memory leaks they are 
fairly mild IMHO, because they only occur at the point when the 
application exits anyway. That being said, I agree this should be fixed.

> So I personally suggest OpenSG developers completing these code in demos.
> If so, things might be more clear.

well, OpenSG is an open source project and I'm more than happy to accept 
patches that correct these issues. As I explained, from my point of view 
this is not a very high priority problem and it may be quite a while 
before someone gets around to look at it.
So if you want to make sure that it gets dealt with, you have the 
following options:
- file a ticket on the OpenSG website (opensg.vrsource.org) so this at 
least will not be forgotten - due to spam you'll need an account to make 
changes/open tickets on the site, ask here and I'll create one for you.
- write and send a patch to this list; the fastest way to get the 
problem resolved.
- or you can do nothing further and hope somebody considers this a 
problem that should be fixed rather sooner than later and writes a patch.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to