Xinqi Bao's Git

Fixed possible NULL-deref and removed unnecessary XOpenDisplay()
authorAaron Marcher <[email protected]>
Fri, 11 Aug 2017 12:33:02 +0000 (14:33 +0200)
committerAaron Marcher <[email protected]>
Fri, 11 Aug 2017 12:33:02 +0000 (14:33 +0200)
- 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.


No differences found