[ASan] Use new/delete in PODFreeListArena
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Feb 2014 05:33:05 +0000 (05:33 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Feb 2014 05:33:05 +0000 (05:33 +0000)
commit2a9b9e5771ae5bc8d5667f247e9390b8e7dda867
treed90ef6d2f31e836d0ea06c6dc7992149bb965de5
parentfc4ccd58ceea3da0e7936ec20836e0a508a4b0ff
[ASan] Use new/delete in PODFreeListArena
<http://webkit.org/b/128437>

Reviewed by Oliver Hunt.

* platform/PODFreeListArena.h:
(WebCore::PODFreeListArena::allocateObject): Use new when
ADDRESS_SANITIZER is defined.
(WebCore::PODFreeListArena::freeObject): Use delete when
ADDRESS_SANITIZER is defined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/PODFreeListArena.h