Fixed a NULL pointer dereference.  Some event functions need to be run without a context and the context pointer was not checked.
Fixed a NULL pointer dereference.  Some event functions need to be run without
a context and the context pointer was not checked.

dspdaemon/dspd,dspdaemon/dspd,dspdaemon/dspd