diff options
author | Filippos Karapetis | 2015-12-07 11:00:54 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:53 +0100 |
commit | 0e886461d0c60f1d3f1f790da8755e35ed2883d3 (patch) | |
tree | a8007732f02e4751b031a5c18d826c41f7f0fe70 /engines/lab/lab.cpp | |
parent | 156ad539ffe30c9a09952f7b97e285a5a5096b0d (diff) | |
download | scummvm-rg350-0e886461d0c60f1d3f1f790da8755e35ed2883d3.tar.gz scummvm-rg350-0e886461d0c60f1d3f1f790da8755e35ed2883d3.tar.bz2 scummvm-rg350-0e886461d0c60f1d3f1f790da8755e35ed2883d3.zip |
LAB: Replace some uses of malloc() with new
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 02abf800f5..3def00339c 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -129,7 +129,7 @@ LabEngine::~LabEngine() { delete _music; delete _anim; delete _graphics; - free(_rooms); + delete[] _rooms; for (int i = 0; i < 16; i++) delete _tiles[i]; |