Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
asc
asc-2.1.0.0-delete.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asc-2.1.0.0-delete.patch of Package asc
--- source/edmisc.cpp +++ source/edmisc.cpp @@ -4420,10 +4420,10 @@ if( map != NULL ) { delete map; - delete fieldCopied; + delete[] fieldCopied; } - delete directionTranslation; - delete playerTranslation; + delete[] directionTranslation; + delete[] playerTranslation; } void CopyMap::selectArea() @@ -4440,7 +4440,7 @@ if( map != NULL ) { delete map; - delete fieldCopied; + delete[] fieldCopied; } mapStartX = -1; @@ -4473,8 +4473,8 @@ copyStep = 2; operate(); - delete directionTranslation; - delete playerTranslation; + delete[] directionTranslation; + delete[] playerTranslation; directionTranslation = oldDirectoyTranslation; playerTranslation = oldPlayerTranslation; } @@ -4630,7 +4630,7 @@ } } - delete directionTranslation; + delete[] directionTranslation; directionTranslation = oldDirectoyTranslation; return true;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor