aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/animseq.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-03 19:37:43 +0000
committerTorbjörn Andersson2010-01-03 19:37:43 +0000
commit72eb9ec9eab5efcb3aa99a962a80423e8c0a3232 (patch)
tree032c9107838aefca6a166465a46fa7318bb82566 /engines/lure/animseq.cpp
parent910ffb53a0b6c74a965df9a1270cdfc3885252ec (diff)
downloadscummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.tar.gz
scummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.tar.bz2
scummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.zip
Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary. svn-id: r46941
Diffstat (limited to 'engines/lure/animseq.cpp')
-rw-r--r--engines/lure/animseq.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/lure/animseq.cpp b/engines/lure/animseq.cpp
index f53b532815..9c18cb33aa 100644
--- a/engines/lure/animseq.cpp
+++ b/engines/lure/animseq.cpp
@@ -213,8 +213,7 @@ AnimationSequence::AnimationSequence(uint16 screenId, Palette &palette, bool fa
}
AnimationSequence::~AnimationSequence() {
- if (_lineRefs != NULL)
- delete _lineRefs;
+ delete _lineRefs;
delete _decodedData;
// Renable GMM saving/loading now that the animation is done