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.
Showing
Please register or sign in to comment