static void pt_section_list_free(struct pt_section_list *list) { if (!list) return; if (list->mapped) pt_section_unmap(list->section.section); pt_section_put(list->section.section); pt_msec_fini(&list->section); free(list); }
static struct ptunit_result sfix_fini(struct section_fixture *sfix) { pt_msec_fini(&sfix->msec); return ptu_passed(); }