[Webkit-unassigned] [Bug 40003] [Qt] Fix the lifecycle of notification objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 13:10:49 PDT 2010


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





--- Comment #4 from Yael <yael.aharon at nokia.com>  2010-06-01 13:10:48 PST ---
(In reply to comment #2)
> (From update of attachment 57554 [details])
> WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp:57
>  +      s_notificationPresenter = new NotificationPresenterClientQt();
> So we always leak this one? (im not finished reading the patch), maybe we should use STATIC_LOCAL

Maybe I am missing something, but if I use DEFINE_STATIC_LOCAL, I don't see how to get access to the static variable in order to delete it in the end.

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