Browse Source

Free matrices

Samuel Thibault 13 years ago
parent
commit
5daf24345d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      examples/mult/xgemm.c

+ 4 - 0
examples/mult/xgemm.c

@@ -329,6 +329,10 @@ int main(int argc, char **argv)
 	if (check)
 		check_output();
 
+	starpu_free(A);
+	starpu_free(B);
+	starpu_free(C);
+
 	starpu_helper_cublas_shutdown();
 	starpu_shutdown();