diff options
| author | Johannes Schickel | 2008-03-15 11:44:36 +0000 |
|---|---|---|
| committer | Johannes Schickel | 2008-03-15 11:44:36 +0000 |
| commit | 9ff187ad63221e91681353438ce702fe59860b5c (patch) | |
| tree | c59289b9c77e38f5a83a46e217f4311b8e415cd2 | |
| parent | be9f33c3bee8d732653e537f4c5eb1baa62034e9 (diff) | |
| download | scummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.tar.gz scummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.tar.bz2 scummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.zip | |
Fixed another valgrind warning.
svn-id: r31128
| -rw-r--r-- | engines/kyra/kyra_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index e4deeb3ed0..90192c3518 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -157,7 +157,7 @@ KyraEngine_v2::~KyraEngine_v2() { if (_sequenceSoundList) { for (int i = 0; i < _sequenceSoundListSize; i++) { if (_sequenceSoundList[i]) - delete _sequenceSoundList[i]; + delete [] _sequenceSoundList[i]; } delete [] _sequenceSoundList; _sequenceSoundList = NULL; |
