From fbdd93bb91c921b387682269423ce07dd69a92d1 Mon Sep 17 00:00:00 2001
From: Loren Shih <seraph@lindenlab.com>
Date: Mon, 29 Mar 2010 14:45:21 -0400
Subject: [PATCH] EXT-6536 : Make LLVOAvatarSelf a singleton

No longer explicitly deleting gAgentAvatarp due to reference counting.
---
 indra/newview/llappviewer.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 8eab4bf508f..a8d69a38cd9 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4085,7 +4085,6 @@ void LLAppViewer::disconnectViewer()
 	gAgentCamera.cleanup();
 	// Also writes cached agent settings to gSavedSettings
 	gAgent.cleanup();
-	delete gAgentAvatarp;
 
 	// This is where we used to call gObjectList.destroy() and then delete gWorldp.
 	// Now we just ask the LLWorld singleton to cleanly shut down.
-- 
GitLab