Merge "Workaround alloc-dealloc-mismatch error on ASan device boot."