 	{
 		if (e == himan::kFileDataNotFound)
 		{
+			if (d_t850)
+			{
+				CUDA_CHECK(cudaFree(d_t850));
+				CUDA_CHECK(cudaFree(d_t700));
+				CUDA_CHECK(cudaFree(d_t500));
+				CUDA_CHECK(cudaFree(d_td850));
+				CUDA_CHECK(cudaFree(d_td700));
+			}
 			return;
 		}
 	}


		himan::ReleaseInfo(opts.brn, d_brn, stream);
		himan::ReleaseInfo(h_cape);

		CUDA_CHECK(cudaStreamSynchronize(stream));
		CUDA_CHECK(cudaFree(d_brn));

		CUDA_CHECK(cudaFree(d_cti));
		CUDA_CHECK(cudaFree(d_tti));

		himan::ReleaseInfo(h_t500);
		himan::ReleaseInfo(h_t700);
		himan::ReleaseInfo(h_t850);
		himan::ReleaseInfo(h_td700);
		himan::ReleaseInfo(h_td850);

		delete h_t500;
		delete h_t700;
		delete h_t850;
		delete h_td700;
		delete h_td850;

		/* =====================================
		 * |                                   |
		 * |       DYNAMIC INDICES             |
