uint32_t *next_uniform)
{
void *mem_ctx = ralloc_context(NULL);
- scoreboard->dag = dag_create(NULL);
+ scoreboard->dag = dag_create(mem_ctx);
struct list_head setup_list;
list_inithead(&setup_list);
orig_uniform_data,
next_uniform);
- ralloc_free(scoreboard->dag);
+ ralloc_free(mem_ctx);
scoreboard->dag = NULL;
return cycles;