Merge "HwBlob: s/malloc/calloc/" into oc-dev am: 123ffb6202

am: f489aed3c1

Change-Id: Iea1bfc306161b065a3699fd780da28296f46dc96
This commit is contained in:
Steven Moreland
2019-05-08 14:37:05 -07:00
committed by android-build-merger

View File

@@ -84,7 +84,7 @@ JHwBlob::JHwBlob(JNIEnv *env, jobject thiz, size_t size)
mOwnsBuffer(true),
mHandle(0) {
if (size > 0) {
mBuffer = malloc(size);
mBuffer = calloc(size, 1);
}
}