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

Commit a15eedd2 authored by John Reck's avatar John Reck
Browse files

Fix setName use-after-free

Bug: 20764439
Change-Id: I7a0f85bb82629b1302db02015fa493dc09eb31f7
parent 05dc201f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ void RenderProxy::setName(const char* name) {
    SETUP_TASK(setName);
    args->context = mContext;
    args->name = name;
    post(task);
    postAndWait(task);
}

CREATE_BRIDGE2(initialize, CanvasContext* context, ANativeWindow* window) {