diff options
| author | Willem Jan Palenstijn | 2006-05-27 11:47:44 +0000 | 
|---|---|---|
| committer | Willem Jan Palenstijn | 2006-05-27 11:47:44 +0000 | 
| commit | 0fef7b32b28914413189a4aa444dfff15f3d2c5f (patch) | |
| tree | cf76d4e2a0d770d0b485022a92d4040ad9e3fac6 /graphics/cursorman.cpp | |
| parent | 923101abcbad36dbfc676008cf7193efa60caaa7 (diff) | |
| download | scummvm-rg350-0fef7b32b28914413189a4aa444dfff15f3d2c5f.tar.gz scummvm-rg350-0fef7b32b28914413189a4aa444dfff15f3d2c5f.tar.bz2 scummvm-rg350-0fef7b32b28914413189a4aa444dfff15f3d2c5f.zip | |
delete[] instead of delete
svn-id: r22673
Diffstat (limited to 'graphics/cursorman.cpp')
| -rw-r--r-- | graphics/cursorman.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index 51d897052d..53a1bf1abb 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -89,7 +89,7 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX,  	uint size = w * h;  	if (cur->_size < size) { -		delete cur->_data; +		delete[] cur->_data;  		cur->_data = new byte[size];  		cur->_size = size;  	} | 
