Merge pull request #1953 from DennisHeimbigner/memleak.dmh

Fix memory leak in nccopy.c
This commit is contained in:
Ward Fisher 2021-03-01 10:07:57 -07:00 committed by GitHub
commit e9a7963527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) */