summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagedimensionsinfo.h
diff options
context:
space:
mode:
authorAnsariel Hiller <Ansariel@users.noreply.github.com>2024-09-25 18:09:14 +0200
committerGitHub <noreply@github.com>2024-09-25 19:09:14 +0300
commit0fde65a88156cbc51a52141d9627f595cba112de (patch)
tree0cc6ea98acb59945f9531961ab6a3be90946b5c2 /indra/llimage/llimagedimensionsinfo.h
parentb48c1b530f6c0f3c33f7546a8f24d66007905b16 (diff)
Fix memory leak in LLImageDimensionsInfo (#2679)
Diffstat (limited to 'indra/llimage/llimagedimensionsinfo.h')
-rw-r--r--indra/llimage/llimagedimensionsinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llimage/llimagedimensionsinfo.h b/indra/llimage/llimagedimensionsinfo.h
index 681d66ae4e..4870f2e815 100644
--- a/indra/llimage/llimagedimensionsinfo.h
+++ b/indra/llimage/llimagedimensionsinfo.h
@@ -38,7 +38,7 @@ class LLImageDimensionsInfo
{
public:
LLImageDimensionsInfo():
- mData(NULL)
+ mData(nullptr)
,mHeight(0)
,mWidth(0)
{}
@@ -67,7 +67,7 @@ protected:
{
mInfile.close();
delete[] mData;
- mData = NULL;
+ mData = nullptr;
mWidth = 0;
mHeight = 0;
}