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

Commit 4700f417 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: check offload_callback not NULL before calling"

parents 2cb4b756 f1f4743c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1354,7 +1354,7 @@ static void *offload_thread_loop(void *context)
        pthread_mutex_lock(&out->lock);
        out->offload_thread_blocked = false;
        pthread_cond_signal(&out->cond);
        if (send_callback) {
        if (send_callback && out->offload_callback) {
            ALOGVV("%s: sending offload_callback event %d", __func__, event);
            out->offload_callback(event, NULL, out->offload_cookie);
        }