diff options
author | Marcus Comstedt | 2004-12-06 15:44:37 +0000 |
---|---|---|
committer | Marcus Comstedt | 2004-12-06 15:44:37 +0000 |
commit | 06f0fa8d3a5536cbf3620c3ca1bbc34e9d14c31c (patch) | |
tree | f18b49d9ac0082325a75aa64f6196005c031ecc3 /backends | |
parent | 17f1c47c5d9960749cec94aef15fb34bc5903669 (diff) | |
download | scummvm-rg350-06f0fa8d3a5536cbf3620c3ca1bbc34e9d14c31c.tar.gz scummvm-rg350-06f0fa8d3a5536cbf3620c3ca1bbc34e9d14c31c.tar.bz2 scummvm-rg350-06f0fa8d3a5536cbf3620c3ca1bbc34e9d14c31c.zip |
Use delete[] for dirs now that it contains objects.
svn-id: r15994
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index 76b5f26fb9..358f7fd382 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -266,7 +266,7 @@ static int findGames(Game *games, int max) for(int i=0; i<curr_game; i++) if(!loadIcon(games[i], dirs, num_dirs)) makeDefIcon(games[i].icon); - delete dirs; + delete[] dirs; return curr_game; } |