Skip to content
Snippets Groups Projects
Commit 847606f1 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Added missing list inits.

Refs #89
parent b0ac3dce
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,10 @@ knot_changeset_t *knot_changesets_create_changeset(knot_changesets_t *ch)
// Init set's memory context (Allocator from changests structure is used)
set->mem_ctx = ch->mmc_rr;
// Init local lists
init_list(&set->add);
init_list(&set->remove);
// Insert into list of sets
add_tail(&ch->sets, (node *)set);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment