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
......@@ -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