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

Commit f489aed3 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

Change-Id: I8ecd922f540f9b93edd44056bf375e464c63eb54
parents 93780658 123ffb62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ JHwBlob::JHwBlob(JNIEnv *env, jobject thiz, size_t size)
    mObject = env->NewWeakGlobalRef(thiz);

    if (size > 0) {
        mBuffer = malloc(size);
        mBuffer = calloc(size, 1);
    }
}