Check for NULL m_ctx