Bug 86610

Summary: [EFL] Do not check NULL pointer allocated by new
Product: WebKit Reporter: Grzegorz Czajkowski <g.czajkowski>
Component: WebKit EFLAssignee: Grzegorz Czajkowski <g.czajkowski>
Status: RESOLVED FIXED    
Severity: Minor CC: gyuyoung.kim, lucas.de.marchi, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
proposed patch none

Grzegorz Czajkowski
Reported 2012-05-16 05:28:14 PDT
WebKit-Efl doesn't check pointers that are initialized by new. Those checks are not needed because new operator doesn't return NULL. Only an overloaded version of new returns NULL pointer.
Attachments
proposed patch (3.06 KB, patch)
2012-05-16 06:20 PDT, Grzegorz Czajkowski
no flags
Grzegorz Czajkowski
Comment 1 2012-05-16 06:20:53 PDT
Created attachment 142239 [details] proposed patch
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-05-16 07:30:08 PDT
Comment on attachment 142239 [details] proposed patch Looks good.
Gyuyoung Kim
Comment 3 2012-05-16 17:37:34 PDT
Comment on attachment 142239 [details] proposed patch Looks good to me, thank you.
WebKit Review Bot
Comment 4 2012-05-17 01:21:08 PDT
Comment on attachment 142239 [details] proposed patch Clearing flags on attachment: 142239 Committed r117414: <http://trac.webkit.org/changeset/117414>
WebKit Review Bot
Comment 5 2012-05-17 01:21:13 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.