Memory leak bug fix.

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3908 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
pscrozi 2010-03-18 23:15:19 +00:00
parent 5f7a2d8584
commit 1c9ce032a4
1 changed files with 0 additions and 1 deletions

View File

@ -432,7 +432,6 @@ void build_cell_list(double *atom_pos, int *atom_type,
cell_list_gpu.idx,
cell_list_gpu.natom, d_pos);
cudaMemset(d_rebuild, 0, sizeof(int));
int *temp = (int*)malloc(sizeof(int)*ncell);
kernel_test_rebuild<<<grid, buffer>>>(cell_list_gpu.pos,
cell_list_gpu.natom,
d_rebuild);