diff options
Diffstat (limited to 'src/image.cpp')
| -rw-r--r-- | src/image.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/image.cpp b/src/image.cpp index 35941e5..f819b94 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -2,9 +2,8 @@ Image::~Image() { - if(width != 0 && height != 0) + if(width != 0) { delete[] imageData; } } - |
