We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea0d9a commit bb75793Copy full SHA for bb75793
ccstruct/statistc.cpp
@@ -90,10 +90,7 @@ void STATS::clear() { // clear out buckets
90
* Destructor for a stats class.
91
**********************************************************************/
92
STATS::~STATS () {
93
- if (buckets_ != NULL) {
94
- delete [] buckets_;
95
- buckets_ = NULL;
96
- }
+ delete [] buckets_;
97
}
98
99
/**********************************************************************
0 commit comments