The structure was only freed in case the XTest method was chosen. But it should always be freed of course (as long as it isn't NULL). Use a QScopedPointer instead to free it automatically when it goes out of scope and to be more consistent with the rest of t Differential Revision: https://phabricator.kde.org/D6389wilder-5.14
parent
9ab9cde513
commit
d45584d1de
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue