dtinfo: Fix coverity warning related to using delete not delete []
This commit is contained in:
@@ -532,7 +532,7 @@ FeatureValueString::operator+(const FeatureValue& x) const
|
||||
newString[len1+len2] = 0;
|
||||
|
||||
FeatureValueString *z = new FeatureValueString(newString);
|
||||
delete newString;
|
||||
delete [] newString;
|
||||
|
||||
return z;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user