Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8ff3857 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

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

am: 96f4f9e2

Change-Id: I25c279ca932b02850bda6bcc58453402369bd8a4
parents 0f8423ff 96f4f9e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ JHwBlob::JHwBlob(JNIEnv *env, jobject thiz, size_t size)
      mOwnsBuffer(true),
      mHandle(0) {
    if (size > 0) {
        mBuffer = malloc(size);
        mBuffer = calloc(size, 1);
    }
}