 
 		himan::ReleaseInfo(opts.brn, d_brn, stream);
 		himan::ReleaseInfo(h_cape);
+		delete h_cape;
 
 		CUDA_CHECK(cudaStreamSynchronize(stream));
 		CUDA_CHECK(cudaFree(d_brn));


		himan::ReleaseInfo(opts.ehi, d_ehi, stream);
		himan::ReleaseInfo(h_cape);

		CUDA_CHECK(cudaStreamSynchronize(stream));
		CUDA_CHECK(cudaFree(d_ehi));

                          const std::vector<double>& lowerHeight, const std::vector<double>& upperHeight);

extern himan::info_t Fetch(std::shared_ptr<const himan::plugin_configuration>& conf,
                           std::shared_ptr<himan::info>& myTargetInfo, const himan::level& lev, const himan::param& par,
                           bool returnPacked = true);
}

template <typename T>
