Antonio Bleile wrote:
> Carsten Neumann wrote:
>>      Hello Antonio,
>>
>> Antonio Bleile wrote:
>>> How's it possible that the following routine
>>> printf's field containers with ref count 0 ?
>> NodePtr node = Node::create();
>>
>> node has ref count 0.
> 


I'm currently looking for the SolidBackground remaining
in memory. I think it's not me creating it.... I grepped
the code for SolidBackground::create and I think I found
a potential bug:

OSGBalancedMultiWindow.cpp:2025

There you create a local variable bkgnd and assign
a new SolidBackground. Then you addRefCP it, assign
it to a viewport and finally subRef it.
As I learned, the viewport is not adding the refcount
of the background (or does it?), so this code should
not work properly.

Regards & sorry for bothering you....

   Toni

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to