summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-05-20 01:03:50 +0100
committerStinson Linden <stinson@lindenlab.com>2014-05-20 01:03:50 +0100
commit5537417ac35ed36322acdba843bd72bf7a7d1992 (patch)
treeb44af20c8ac5c0e93ecf49444a4551a5cb65f76a /indra/newview
parentbabd89b77050ab49166f2fbd6d460884070140d9 (diff)
MAINT-4009: Ensuring that the cookie store is properly cleaned on app exit.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewermedia.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index afa2bb6728..a2a3caee00 100755
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1604,6 +1604,12 @@ void LLViewerMedia::cleanupClass()
delete sSpareBrowserMediaSource;
sSpareBrowserMediaSource = NULL;
}
+
+ if (sCookieStore != NULL)
+ {
+ delete sCookieStore;
+ sCookieStore = NULL;
+ }
}
//////////////////////////////////////////////////////////////////////////////////////////