Snap for 9642710 from 5f240c0b6eae7676da73d0b3a16817303eea4d1e to u-keystone-qcom-release

Change-Id: Iccbba03b076255b443afe71056a8e0fdb2fd2d39
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;