From db6ea8d4b4a2262e4d830c034a7dd220b7669ffe Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Sat, 9 Feb 2013 08:12:14 -0800 Subject: Fixing a minor bug - if you new [] you have to delete [] [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15216] --- src/gpgpu-sim/gpu-cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpgpu-sim') diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc index 0b91727..49c7991 100644 --- a/src/gpgpu-sim/gpu-cache.cc +++ b/src/gpgpu-sim/gpu-cache.cc @@ -47,7 +47,7 @@ unsigned l2_cache_config::set_index(new_addr_type addr) const{ tag_array::~tag_array() { - delete m_lines; + delete[] m_lines; } tag_array::tag_array( const cache_config &config, -- cgit v1.3