aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturecache.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:59 -0500
committerJacek Antonelli2008-08-15 23:44:59 -0500
commita408bac29378072fbf36864164149458c978cfcc (patch)
tree67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/lltexturecache.cpp
parentSecond Life viewer sources 1.17.0.12 (diff)
downloadmeta-impy-a408bac29378072fbf36864164149458c978cfcc.zip
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/newview/lltexturecache.cpp')
-rw-r--r--linden/indra/newview/lltexturecache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp
index 2008fda..81b4343 100644
--- a/linden/indra/newview/lltexturecache.cpp
+++ b/linden/indra/newview/lltexturecache.cpp
@@ -1,5 +1,5 @@
1/** 1/**
2 * @file texturecache.cpp 2 * @file lltexturecache.cpp
3 * @brief Object which handles local texture caching 3 * @brief Object which handles local texture caching
4 * 4 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 5 * Copyright (c) 2000-2007, Linden Research, Inc.
@@ -1284,6 +1284,7 @@ LLTextureCache::handle_t LLTextureCache::writeToCache(const LLUUID& id, U32 prio
1284{ 1284{
1285 if (mReadOnly) 1285 if (mReadOnly)
1286 { 1286 {
1287 delete responder;
1287 return LLWorkerThread::nullHandle(); 1288 return LLWorkerThread::nullHandle();
1288 } 1289 }
1289 if (mDoPurge) 1290 if (mDoPurge)
@@ -1305,6 +1306,7 @@ LLTextureCache::handle_t LLTextureCache::writeToCache(const LLUUID& id, U32 prio
1305 mWriters[handle] = worker; 1306 mWriters[handle] = worker;
1306 return handle; 1307 return handle;
1307 } 1308 }
1309 delete responder;
1308 return LLWorkerThread::nullHandle(); 1310 return LLWorkerThread::nullHandle();
1309} 1311}
1310 1312