Fixes memory-leak in InputNetcdfCf

* Memory allocated when reading NetcdfCf files was not deallocated