diff options
author | Aaron Marcher <me@drkhsh.at> | 2017-08-11 14:33:02 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2017-08-11 14:33:02 +0200 |
commit | 62fcaccbc6d674414e0e80651141684154992c6e (patch) | |
tree | b42c371f2d13c159b611949c7aca7aca6bdf031a /config.def.h | |
parent | dddb9d27cd920b961361edc7c4ecc05e6d9ef65c (diff) |
Fixed possible NULL-deref and removed unnecessary XOpenDisplay()
- Added a check for the return value of XOpenDisplay() in main().
This fixes a possible NULL-deref.
- Removed unnsecessary XOpenDisplay and XCloseDisplay from
keyboard_indicators(). The ones in main() are sufficent.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions