Samuel Thibault 9 年 前
コミット
f5d60b4af8
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  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;
 }