Browse Source

Add missing unregistration

Samuel Thibault 8 years ago
parent
commit
fc0049658d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/lu/xlu_pivot.c

+ 1 - 0
examples/lu/xlu_pivot.c

@@ -399,6 +399,7 @@ int STARPU_LU(lu_decomposition_pivot)(TYPE *matA, unsigned *ipiv, unsigned size,
 
 
 	/* gather all the data */
 	/* gather all the data */
 	starpu_data_unpartition(dataA, STARPU_MAIN_RAM);
 	starpu_data_unpartition(dataA, STARPU_MAIN_RAM);
+	starpu_data_unregister(dataA);
 	free(piv_description);
 	free(piv_description);
 
 
 	return ret;
 	return ret;