Browse Source

mpi/src/starpu_mpi.c: free allocated memory

Nathalie Furmento 11 years ago
parent
commit
b6f763c6e0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mpi/src/starpu_mpi.c

+ 2 - 1
mpi/src/starpu_mpi.c

@@ -1473,7 +1473,8 @@ static void *_starpu_mpi_progress_thread_func(void *arg)
 			struct _starpu_mpi_copy_handle_hashlist *current, *tmp;
 			HASH_ITER(hh, _starpu_mpi_copy_handle_hashmap[n], current, tmp)
 			{
-			     HASH_DEL(_starpu_mpi_copy_handle_hashmap[n], current);
+				free(current);
+				HASH_DEL(_starpu_mpi_copy_handle_hashmap[n], current);
 			}
 		}
 	}