Commit 8cda1b6f authored by Christoph Haag's avatar Christoph Haag

comp: fix cleanup of direct window, delete with correct type

Found by gcc address sanitizer.
parent 5fa58efc
Pipeline #55861 passed with stages
in 1 minute and 24 seconds
......@@ -197,7 +197,7 @@ comp_window_direct_destroy(struct comp_window* w)
w_direct->connection = nullptr;
}
delete w;
delete reinterpret_cast<struct comp_window_direct*>(w);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment