Fix memory leak in nccopy.c

This commit is contained in:
Dennis Heimbigner 2021-02-25 15:06:39 -07:00
parent d136d46d22
commit 467faeaaeb

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