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

Commit 68f55fd6 authored by Andy Hung's avatar Andy Hung
Browse files

Fix memory leak in offload thread

Bug: 28246405
Change-Id: I89d4fb070c5603049f3d5bac53b4b3c08e177287
parent 733c1df5
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;
        }