diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltexturecache.cpp | 4 |
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 | ||