Hello Antonio,

Antonio Bleile wrote:
> 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.

you are right, the viewport does not modify the refcount of the 
background, but since the viewport in this particular case is thrown 
away as well, I don't see the problem, could you elaborate, please ?

        Thanks,
                Carsten


-------------------------------------------------------------------------
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