diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 17:44:46 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 17:47:59 +0300 |
commit | 9739fc4d1bd78283cbe3711e2aa9a38629791741 (patch) | |
tree | aa25ebe832a16ddec65b8af9bc6b484ff418db19 /source/blender/compositor/operations/COM_NormalizeOperation.cpp | |
parent | 14fd91e7e82a97e8f629bb86d6df50a6336d28f5 (diff) |
Clang-Tidy: More fixed of redundant check before delete
For some reason got unnoticed in the original cleanup pass.
Diffstat (limited to 'source/blender/compositor/operations/COM_NormalizeOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_NormalizeOperation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_NormalizeOperation.cpp b/source/blender/compositor/operations/COM_NormalizeOperation.cpp index f7e689fa008..55faa480b83 100644 --- a/source/blender/compositor/operations/COM_NormalizeOperation.cpp +++ b/source/blender/compositor/operations/COM_NormalizeOperation.cpp @@ -53,9 +53,7 @@ void NormalizeOperation::executePixel(float output[4], int x, int y, void *data) void NormalizeOperation::deinitExecution() { this->m_imageReader = NULL; - if (this->m_cachedInstance) { - delete this->m_cachedInstance; - } + delete this->m_cachedInstance; NodeOperation::deinitMutex(); } |