mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Fix memory leak in nccopy.c
This commit is contained in:
parent
d136d46d22
commit
467faeaaeb
@ -2273,6 +2273,7 @@ main(int argc, char**argv)
|
||||
if(kvalue->name == NULL) {
|
||||
error("invalid output format: %s", kind_name);
|
||||
}
|
||||
nullfree(kind_name);
|
||||
}
|
||||
break;
|
||||
case '3': /* output format is classic (netCDF-3) */
|
||||
|
Loading…
Reference in New Issue
Block a user