don’t create/destroy an unused key event
check for NULL before releasing key events