mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Corrected coverity issue 1372965.
This commit is contained in:
parent
a08be0a312
commit
49fb3241c6
@ -177,6 +177,7 @@ NC4_put_propattr(NC_HDF5_FILE_INFO_T* h5)
|
||||
if(ncstat != NC_NOERR) {
|
||||
if(text != NULL) {
|
||||
free(text);
|
||||
text = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user