dtinfo: Fix coverity warning related to using delete not delete []

This commit is contained in:
Peter Howkins
2018-04-23 02:20:23 +01:00
parent 22071fd62a
commit 2f634848ce
38 changed files with 75 additions and 75 deletions

View File

@@ -44,7 +44,7 @@ public: // functions
f_string = NULL;
}
virtual ~CC_String () { delete f_string; }
virtual ~CC_String () { delete [] f_string; }
CC_Boolean isNull() const {
return( f_string[0] == '\0' );