[ios] Speculative fix for StartLeakingMemory function
StartLeakingMemory leaks memory by repeatedly allocating memory using operator new. This causes UTE in debug Chromium build, but not in release Chrome build. It's possible that release build has some optimization that throw away memory allocation, so this CL adds allocated memory to NSArray<NSData*> container to ensure the leak. Bug: 1103752 Change-Id: I162250621bfbded39145e594ec135b4bf46261ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368145 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Auto-Submit: Eugene But <eugenebut@chromium.org> Reviewed-by:Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#801057}
Showing
Please register or sign in to comment