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

@@ -154,7 +154,7 @@ DBTable::file(DB::Access access)
throw(PosixError(errno, path));
}
delete path;
delete [] path;
}
}
@@ -458,7 +458,7 @@ void DBCursor::string_field(FILE *fp, char **out, int *lenOut)
if(lenOut) *lenOut = len;
}else{
delete str;
delete [] str;
}
}