diff options
Diffstat (limited to 'indra/llcommon/llstl.h')
-rw-r--r-- | indra/llcommon/llstl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llstl.h b/indra/llcommon/llstl.h index 988e706091..99fc83274b 100644 --- a/indra/llcommon/llstl.h +++ b/indra/llcommon/llstl.h @@ -105,6 +105,7 @@ struct DeletePairedPointer template<typename T> void operator()(T &ptr) const { delete ptr.second; + ptr.second = NULL; } }; struct DeletePairedPointerArray @@ -112,6 +113,7 @@ struct DeletePairedPointerArray template<typename T> void operator()(T &ptr) const { delete[] ptr.second; + ptr.second = NULL; } }; |