Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
eff6a695
Commit
eff6a695
authored
Mar 02, 2016
by
Martin Flöser
Browse files
[autotest] Fix crash in TestWindowManagement::cleanup
Didn't delete the m_windowManagement causing a crash on teardown.
parent
b6cea866
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_wayland_windowmanagement.cpp
View file @
eff6a695
...
...
@@ -201,6 +201,10 @@ void TestWindowManagement::cleanup()
delete
m_queue
;
m_queue
=
nullptr
;
}
if
(
m_windowManagement
)
{
delete
m_windowManagement
;
m_windowManagement
=
nullptr
;
}
if
(
m_registry
)
{
delete
m_registry
;
m_registry
=
nullptr
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment