瀏覽代碼

Add missing unregistration

Samuel Thibault 8 年之前
父節點
當前提交
fc0049658d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 */
 	starpu_data_unpartition(dataA, STARPU_MAIN_RAM);
+	starpu_data_unregister(dataA);
 	free(piv_description);
 
 	return ret;