diff options
author | Johannes Schickel | 2015-12-14 04:49:36 +0100 |
---|---|---|
committer | Johannes Schickel | 2015-12-14 05:08:05 +0100 |
commit | 40421f1854a157703c3c8faddc1b622c39ecce4c (patch) | |
tree | 0a3594c9017c08c97e095381cf2ab8b8fdcd968e | |
parent | cb8e611e3373d8a87c931855916cf079eaad55dc (diff) | |
download | scummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.tar.gz scummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.tar.bz2 scummvm-rg350-40421f1854a157703c3c8faddc1b622c39ecce4c.zip |
SWORD25: Cleanup.
-rw-r--r-- | engines/sword25/gfx/image/vectorimage.cpp | 3 |
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); } |