diff options
Diffstat (limited to 'source/blender/imbuf/intern/dds/Image.cpp')
-rw-r--r-- | source/blender/imbuf/intern/dds/Image.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/dds/Image.cpp b/source/blender/imbuf/intern/dds/Image.cpp index d08a61a5a60..31a9927557b 100644 --- a/source/blender/imbuf/intern/dds/Image.cpp +++ b/source/blender/imbuf/intern/dds/Image.cpp @@ -51,9 +51,7 @@ void Image::allocate(uint w, uint h) void Image::free() { - if (m_data) { - delete[] m_data; - } + delete[] m_data; m_data = NULL; } |