Skip to content
Commit d95cc48a authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Fix memory leak when building with a11y support

QAccessible::updateAccessibility() expects a pointer, but doesn't take
ownership of the argument and expects us to delete it after we've called
it. So just allocate the object on the stack like other users of this
API do.

Found by ASAN.
parent b410e7f0
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