diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-26 04:01:16 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-26 04:01:16 +0000 |
commit | 6c0277420f8f448108ef9e85ed86df0eda9d4359 (patch) | |
tree | 73eb518861d418afcea38b8da874b549da1c8034 | |
parent | e42665cef4abc8856a5a1d2917581d9140fbf0ab (diff) | |
parent | b6b1b529e505b73a29c9f3501708768c741f20e8 (diff) | |
download | dalvik-android14-gsi.tar.gz |
Snap for 9528303 from b6b1b529e505b73a29c9f3501708768c741f20e8 to udc-releaseandroid-vts-14.0_r4android-vts-14.0_r3android-vts-14.0_r2android-vts-14.0_r1android-security-14.0.0_r9android-security-14.0.0_r8android-security-14.0.0_r7android-security-14.0.0_r6android-security-14.0.0_r5android-security-14.0.0_r4android-security-14.0.0_r3android-security-14.0.0_r2android-security-14.0.0_r1android-platform-14.0.0_r7android-platform-14.0.0_r6android-platform-14.0.0_r5android-platform-14.0.0_r4android-platform-14.0.0_r3android-platform-14.0.0_r2android-platform-14.0.0_r1android-cts-14.0_r4android-cts-14.0_r3android-cts-14.0_r2android-cts-14.0_r1android-14.0.0_r28android-14.0.0_r2android-14.0.0_r15android-14.0.0_r14android-14.0.0_r13android-14.0.0_r1android14-tests-releaseandroid14-security-releaseandroid14-s2-releaseandroid14-s1-releaseandroid14-releaseandroid14-platform-releaseandroid14-gsi
Change-Id: Ic3dcdcdb515de3d867497dc89c64928638811d93
-rw-r--r-- | tools/hprof-conv/HprofConv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hprof-conv/HprofConv.c b/tools/hprof-conv/HprofConv.c index c8847c944..ff49428af 100644 --- a/tools/hprof-conv/HprofConv.c +++ b/tools/hprof-conv/HprofConv.c @@ -182,7 +182,7 @@ static int ebEnsureCapacity(ExpandBuf* pBuf, int size) unsigned char* newStorage = realloc(pBuf->storage, newSize); if (newStorage == NULL) { fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); - return -1; + exit(1); } pBuf->storage = newStorage; |