mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-21 03:13:46 +08:00
commit
754975130c
@ -104,7 +104,7 @@ string NcGroup::getName(bool fullName) const {
|
|||||||
char* charName= new char[lenp+1];
|
char* charName= new char[lenp+1];
|
||||||
ncCheck(nc_inq_grpname_full(myId,&lenp,charName),__FILE__,__LINE__);
|
ncCheck(nc_inq_grpname_full(myId,&lenp,charName),__FILE__,__LINE__);
|
||||||
groupName = charName;
|
groupName = charName;
|
||||||
delete charName;
|
delete[] charName;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// return the (local) name of this group.
|
// return the (local) name of this group.
|
||||||
|
Loading…
Reference in New Issue
Block a user