Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
124 stars 49 forks source link

Plain delete used on pointer allocated with new[] #108

Open lambdaknight opened 3 years ago

lambdaknight commented 3 years ago

https://github.com/Unidata/netcdf-cxx4/blob/162d78a8c4dc33379df746dfe232d0aaebc705db/cxx4/ncGroup.cpp#L107

This line should be delete [] charName;

twsearle commented 2 years ago

Duplicate of #98