Lines Matching refs:tmp_iface
17 ocontext_t *tmp_iface = NULL; in iface_from_record() local
20 tmp_iface = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in iface_from_record()
21 if (!tmp_iface) in iface_from_record()
25 tmp_iface->u.name = strdup(sepol_iface_get_name(record)); in iface_from_record()
26 if (!tmp_iface->u.name) in iface_from_record()
33 context_cpy(&tmp_iface->context[0], tmp_con); in iface_from_record()
42 context_cpy(&tmp_iface->context[1], tmp_con); in iface_from_record()
47 *iface = tmp_iface; in iface_from_record()
54 if (tmp_iface != NULL) { in iface_from_record()
55 free(tmp_iface->u.name); in iface_from_record()
56 context_destroy(&tmp_iface->context[0]); in iface_from_record()
57 context_destroy(&tmp_iface->context[1]); in iface_from_record()
58 free(tmp_iface); in iface_from_record()