Snap for 9528303 from b6b1b529e505b73a29c9f3501708768c741f20e8 to udc-release Change-Id: Ic3dcdcdb515de3d867497dc89c64928638811d93
diff --git a/tools/hprof-conv/HprofConv.c b/tools/hprof-conv/HprofConv.c index c8847c9..ff49428 100644 --- a/tools/hprof-conv/HprofConv.c +++ b/tools/hprof-conv/HprofConv.c
@@ -182,7 +182,7 @@ 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;