[Webkit-unassigned] [Bug 48323] [Qt] Assert in the tst_hybridPixmap::hybridPixmap() unit test.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 09:06:30 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48323





--- Comment #4 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2010-10-26 09:06:30 PST ---

> > WebCore/bridge/qt/qt_pixmapruntime.cpp:358
> > -    QtPixmapInstance* instance = new QtPixmapInstance(root, data);
> > +    RefPtr<QtPixmapInstance> instance = adoptRef(new QtPixmapInstance(root, data));
> 
> What happens with the QtPixmapInstance after this function returns?
> I'm asking because it was leaked previously, and createRuntimeObject() returns a member of the instance.

That member which is being returned is created by newRuntimeObject, but not owner by the Instance.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list