diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 4bc766330086769a5347dbf90a65dae72ee09372..e7e9404dedf9ee3e1ed24b41d0e35531209675d7 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -509,6 +509,8 @@ void LLAgent::init()
 void LLAgent::cleanup()
 {
 	mRegionp = NULL;
+    mTeleportRequest = NULL;
+    mTeleportCanceled = NULL;
 	if (mTeleportFinishedSlot.connected())
 	{
 		mTeleportFinishedSlot.disconnect();