Also add null pointer check not to assume wmKeyMapItem::properties implies an allocated wmKeyMapItem::ptr. Something which is already accounted for everywhere else.
Also add null pointer check not to assume wmKeyMapItem::properties implies an allocated wmKeyMapItem::ptr. Something which is already accounted for everywhere else.