소스 검색

Free matrices

Samuel Thibault 14 년 전
부모
커밋
5daf24345d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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)
 	if (check)
 		check_output();
 		check_output();
 
 
+	starpu_free(A);
+	starpu_free(B);
+	starpu_free(C);
+
 	starpu_helper_cublas_shutdown();
 	starpu_helper_cublas_shutdown();
 	starpu_shutdown();
 	starpu_shutdown();