diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 99a52d7005..f14d8d3966 100755 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -527,6 +527,11 @@ void LLVorbisDecodeState::flushBadFile() { LL_WARNS("AudioEngine") << "Flushing bad vorbis file from VFS for " << mUUID << LL_ENDL; mInFilep->remove(); + + // FIRE-15975; Delete the current file, or we might end with stale locks during the re-transfer + delete mInFilep; + mInFilep = NULL; + // } }