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

Commit 27405aa1 authored by Andy Hung's avatar Andy Hung Committed by android-build-merger
Browse files

Fix memory leak in offload thread

am: 68f55fd6

* commit '68f55fd6':
  Fix memory leak in offload thread

Change-Id: I541c096686112e645ba164630d7d7048a1e84d10
parents 733c1df5 68f55fd6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -993,6 +993,7 @@ static void *offload_thread_loop(void *context)

        if (out->compr == NULL) {
            ALOGE("%s: Compress handle is NULL", __func__);
            free(cmd);
            pthread_cond_signal(&out->cond);
            continue;
        }