diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llstl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llstl.h b/linden/indra/llcommon/llstl.h index 9a24185..4486727 100644 --- a/linden/indra/llcommon/llstl.h +++ b/linden/indra/llcommon/llstl.h | |||
@@ -105,6 +105,7 @@ struct DeletePairedPointer | |||
105 | template<typename T> void operator()(T &ptr) const | 105 | template<typename T> void operator()(T &ptr) const |
106 | { | 106 | { |
107 | delete ptr.second; | 107 | delete ptr.second; |
108 | ptr.second = NULL; | ||
108 | } | 109 | } |
109 | }; | 110 | }; |
110 | struct DeletePairedPointerArray | 111 | struct DeletePairedPointerArray |
@@ -112,6 +113,7 @@ struct DeletePairedPointerArray | |||
112 | template<typename T> void operator()(T &ptr) const | 113 | template<typename T> void operator()(T &ptr) const |
113 | { | 114 | { |
114 | delete[] ptr.second; | 115 | delete[] ptr.second; |
116 | ptr.second = NULL; | ||
115 | } | 117 | } |
116 | }; | 118 | }; |
117 | 119 | ||