From 4bf50de083f2cf4e11c56d9e423cd7ccaf2c50e7 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 20 Dec 2010 14:43:18 -0800 Subject: fix from CL 8285 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8287] --- src/cuda-sim/ptx_ir.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cuda-sim') diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc index 5529da4..efe61b6 100644 --- a/src/cuda-sim/ptx_ir.cc +++ b/src/cuda-sim/ptx_ir.cc @@ -1218,6 +1218,7 @@ unsigned function_info::print_insn( unsigned pc, FILE * fp ) const } else fprintf(fp, "", pc ); } + pclose(p); return inst_size; } -- cgit v1.3