Sfoglia il codice sorgente

examples/interface/complex.c: add missing data_unregister

Nathalie Furmento 4 anni fa
parent
commit
8d3926df6b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;
 }