mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
Merge pull request #1953 from DennisHeimbigner/memleak.dmh
Fix memory leak in nccopy.c
This commit is contained in:
commit
e9a7963527
@ -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