Skip to content
GitLab
Menu
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
1f7e794b
Commit
1f7e794b
authored
Feb 25, 2021
by
Xaver Hugl
Browse files
DrmGpu: add gbm device nullptr check
BUG: 433145
parent
37c145e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/platforms/drm/drm_gpu.cpp
View file @
1f7e794b
...
...
@@ -74,7 +74,9 @@ DrmGpu::~DrmGpu()
eglTerminate
(
m_eglDisplay
);
}
#if HAVE_GBM
gbm_device_destroy
(
m_gbmDevice
);
if
(
m_gbmDevice
)
{
gbm_device_destroy
(
m_gbmDevice
);
}
#endif
qDeleteAll
(
m_crtcs
);
qDeleteAll
(
m_connectors
);
...
...
Xaver Hugl
@zamundaaa
mentioned in commit
c2b2127f
·
Feb 25, 2021
mentioned in commit
c2b2127f
mentioned in commit c2b2127f3ae0da05b9bc7f4968f7c6292c54de51
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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