Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepimlibs4
r880897.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r880897.diff of Package kdepimlibs4
Subject: test before delete[] is not needed From: wstephenson@suse.de Bug: Patch-upstream: 880897 --- kmime/kmime_headers.cpp (revision 880896) +++ kmime/kmime_headers.cpp (revision 880897) @@ -1191,10 +1191,8 @@ Generic::Generic( const char *t, Content Generic::~Generic() { Q_D(Generic); - if ( d->type ) { - delete[] d->type; - d->type = 0; - } + delete[] d->type; + d->type = 0; } void Generic::clear() Index: kmime/kmime_headers.cpp ===================================================================
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