Samuel Thibault 8 rokov pred
rodič
commit
f5d60b4af8
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      examples/sched_ctx/two_cpu_contexts.c

+ 3 - 0
examples/sched_ctx/two_cpu_contexts.c

@@ -112,5 +112,8 @@ int main(int argc, char **argv)
 	starpu_sched_ctx_delete(sched_ctx1);
 	starpu_sched_ctx_delete(sched_ctx2);
 	starpu_shutdown();
+	free(procs);
+	free(procs1);
+	free(procs2);
 	return 0;
 }