瀏覽代碼

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