diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-26 18:59:35 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-26 18:59:35 +0000 |
commit | 5ffb4b95690577952cc7ad124bfe216bf2010ec6 (patch) | |
tree | 73eb518861d418afcea38b8da874b549da1c8034 | |
parent | 241a362ec54431fd430fdec3002da0f5fe4f148e (diff) | |
parent | 6c0277420f8f448108ef9e85ed86df0eda9d4359 (diff) | |
download | dalvik-android14-d1-s6-release.tar.gz |
Snap for 9528688 from 6c0277420f8f448108ef9e85ed86df0eda9d4359 to udc-d1-releaseandroid-14.0.0_r9android-14.0.0_r8android-14.0.0_r7android-14.0.0_r6android-14.0.0_r5android-14.0.0_r4android-14.0.0_r3android-14.0.0_r12android-14.0.0_r11android-14.0.0_r10android14-d1-s7-releaseandroid14-d1-s6-releaseandroid14-d1-s5-releaseandroid14-d1-s4-releaseandroid14-d1-s3-releaseandroid14-d1-s2-releaseandroid14-d1-s1-releaseandroid14-d1-release
Change-Id: Id6324f87d81aa46cb05ba6742f7e31e43d272172
-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; |