소스 검색

examples/interface/complex.c: add missing data_unregister

Nathalie Furmento 4 년 전
부모
커밋
8d3926df6b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      examples/interface/complex.c

+ 2 - 0
examples/interface/complex.c

@@ -278,6 +278,8 @@ end:
 #endif
 	starpu_data_unregister(handle1);
 	starpu_data_unregister(handle2);
+	starpu_data_unregister(handle3);
+	starpu_data_unregister(handle4);
 	starpu_shutdown();
 	if (ret == -ENODEV) return 77; else return !compare;
 }