Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
yudit
bnc445708-delete-array.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc445708-delete-array.patch of Package yudit
diff -ru yudit-2.9.0.orig//stoolkit/SBHashtable.cpp yudit-2.9.0/stoolkit/SBHashtable.cpp --- yudit-2.9.0.orig//stoolkit/SBHashtable.cpp 2006-05-21 10:57:44.000000000 +0200 +++ yudit-2.9.0/stoolkit/SBHashtable.cpp 2008-11-18 12:30:37.000000000 +0100 @@ -324,7 +324,9 @@ } if (j==1) { - delete bv; GET_BUCKET (buffer->array, mod) = 0; + delete [] bv; + bv = NULL; + GET_BUCKET (buffer->array, mod) = 0; break; } break; @@ -365,7 +367,8 @@ bi = bv[j]; delete bi; } - delete bv; + delete [] bv; + bv = NULL; } } delete buffer; @@ -532,7 +535,8 @@ } if (bv != 0) { - delete bv; + delete [] bv; + bv = NULL; } nv[count] = bi; nv[count+1] = 0; yudit-2.9.0/stoolkitだけに発見: SBHashtable.cpp.~1~
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