aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-14 04:49:36 +0100
committerJohannes Schickel2015-12-14 05:08:05 +0100
commit40421f1854a157703c3c8faddc1b622c39ecce4c (patch)
tree0a3594c9017c08c97e095381cf2ab8b8fdcd968e
parentcb8e611e3373d8a87c931855916cf079eaad55dc (diff)
downloadscummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.tar.gz
scummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.tar.bz2
scummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.zip
SWORD25: Cleanup.
-rw-r--r--engines/sword25/gfx/image/vectorimage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp
index 756d063d43..a678fdccad 100644
--- a/engines/sword25/gfx/image/vectorimage.cpp
+++ b/engines/sword25/gfx/image/vectorimage.cpp
@@ -311,8 +311,7 @@ VectorImage::~VectorImage() {
if (_elements[j].getPathInfo(i).getVec())
free(_elements[j].getPathInfo(i).getVec());
- if (_pixelData)
- free(_pixelData);
+ free(_pixelData);
}