mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
As pointed by Coverity, the allocated value returned by XGetModifierMapping is assumed to be non-NULL everywhere except when releasing it. Removed this last check (useless) and added a little check at the beginning to avoid an (improbable) crash. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
9.8 KiB
9.8 KiB