Browse Source

examples/interface/complex.c: add missing data_unregister

Nathalie Furmento 4 years ago
parent
commit
8d3926df6b
1 changed files with 2 additions and 0 deletions
  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;
 }