-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix new/delete in sanitize-address test
Summary: The use of `operator new` with sized `operator delete` in `folly/memory/test/SanitizeAddressTest.cpp` requires sized `operator delete`, which is not always available. Delegation to the correct `operator delete` is wrapped in `folly::operator_new` and `folly::operator_delete`, so switch to these. Reviewed By: ckwalsh Differential Revision: D62909014 fbshipit-source-id: ce223473cdfe61ccfa50ba85e15a569aa9b245ea
- Loading branch information
1 parent
be81e0c
commit 02ebbf5
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters