Fix 'potential memory leak' compiler warning.
This CL fixes the following compiler warning:
Memory allocated by 'new' should be deallocated by 'delete', not
Test: Compiled with change; no warning generated.
(cherry picked from commit 158c197b668ad684f92829db6a31bee3aec794ba)
(cherry picked from commit 37c428cd521351837fccb6864f509f996820b234)
1 file changed