diff options
author | Stinson Linden <stinson@lindenlab.com> | 2014-05-06 01:11:46 +0100 |
---|---|---|
committer | Stinson Linden <stinson@lindenlab.com> | 2014-05-06 01:11:46 +0100 |
commit | 12d44073c8399bb29588f252b95d19f0d379998d (patch) | |
tree | da89524381bee256faa13d7e2845ffad83ea6f94 /indra/newview/llviewermedia.cpp | |
parent | 001621dfc21942a6ae0075ca3eef31720f42477b (diff) |
MAINT-4009: Ensuring that the spare browser media source is cleaned up with the LLViewerMedia class.
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rwxr-xr-x | indra/newview/llviewermedia.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 7958537856..0967ca23c0 100755 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -1603,6 +1603,11 @@ void LLViewerMedia::cleanupClass() { gIdleCallbacks.deleteFunction(LLViewerMedia::updateMedia, NULL); sTeleportFinishConnection.disconnect(); + if (sSpareBrowserMediaSource != NULL) + { + delete sSpareBrowserMediaSource; + sSpareBrowserMediaSource = NULL; + } } ////////////////////////////////////////////////////////////////////////////////////////// |