On 5/29/06, Ville Syrjälä <[EMAIL PROTECTED]> wrote: > On Mon, May 29, 2006 at 04:55:15PM -0700, Mike Emmel wrote: > > I was looking at the implementation of this function and was surprised > > to see it creates a window. Explanation ? > > It creates an IDirectFBWindow object but it doesn't actully create a new > window (CoreWindow). > Yes I realized that its not clear that its created with the right properties either.
Why are we not saving a back pointer when we create the interface ? This function is a leak waiting to happen. Create should allocate Get should return and existing interface or null. IMHO this is wrong. Mike > -- > Ville Syrjälä > [EMAIL PROTECTED] > http://www.sci.fi/~syrjala/ > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
