diff options
author | Torbjörn Andersson | 2010-07-16 23:10:41 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-16 23:10:41 +0000 |
commit | 4172a94edd9eaba0d6dc27d09c8858704d7010a0 (patch) | |
tree | cc5fbe50694196ecbad432f580f78041ae398e3b /engines/made | |
parent | 17dcf79936b15bb4f830b3135a239b00edd315af (diff) | |
download | scummvm-rg350-4172a94edd9eaba0d6dc27d09c8858704d7010a0.tar.gz scummvm-rg350-4172a94edd9eaba0d6dc27d09c8858704d7010a0.tar.bz2 scummvm-rg350-4172a94edd9eaba0d6dc27d09c8858704d7010a0.zip |
Cleanup.
svn-id: r50950
Diffstat (limited to 'engines/made')
-rw-r--r-- | engines/made/resource.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/made/resource.cpp b/engines/made/resource.cpp index 28d46cf4ec..cdcb49f9f9 100644 --- a/engines/made/resource.cpp +++ b/engines/made/resource.cpp @@ -50,10 +50,9 @@ PictureResource::~PictureResource() { delete _picture; _picture = 0; } - if (_picturePalette) { - delete[] _picturePalette; - _picturePalette = 0; - } + + delete[] _picturePalette; + _picturePalette = 0; } void PictureResource::load(byte *source, int size) { |