Bug 86610 - [EFL] Do not check NULL pointer allocated by new
: [EFL] Do not check NULL pointer allocated by new
Status: RESOLVED FIXED
: WebKit
WebKit EFL
: 528+ (Nightly build)
: All Linux
: P2 Minor
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-05-16 05:28 PST by
Modified: 2012-05-17 01:21 PST (History)


Attachments
proposed patch (3.06 KB, patch)
2012-05-16 06:20 PST, Grzegorz Czajkowski
no flags Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-05-16 05:28:14 PST
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.
------- Comment #1 From 2012-05-16 06:20:53 PST -------
Created an attachment (id=142239) [details]
proposed patch
------- Comment #2 From 2012-05-16 07:30:08 PST -------
(From update of attachment 142239 [details])
Looks good.
------- Comment #3 From 2012-05-16 17:37:34 PST -------
(From update of attachment 142239 [details])
Looks good to me, thank you.
------- Comment #4 From 2012-05-17 01:21:08 PST -------
(From update of attachment 142239 [details])
Clearing flags on attachment: 142239

Committed r117414: <http://trac.webkit.org/changeset/117414>
------- Comment #5 From 2012-05-17 01:21:13 PST -------
All reviewed patches have been landed.  Closing bug.