Переглянути джерело

Add missing unregistration call

Samuel Thibault 4 роки тому
батько
коміт
33ce46381b
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      tests/datawizard/partition_dep.c

+ 1 - 0
tests/datawizard/partition_dep.c

@@ -98,6 +98,7 @@ int main(int argc, char **argv)
         return ret;
 
 enodev:
+	starpu_data_unpartition(handle, STARPU_MAIN_RAM);
 	starpu_data_unregister(handle);
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one