Lines Matching refs:tmp_con
18 context_struct_t *tmp_con = NULL; in iface_from_record() local
31 &tmp_con, sepol_iface_get_ifcon(record)) < 0) in iface_from_record()
33 context_cpy(&tmp_iface->context[0], tmp_con); in iface_from_record()
34 context_destroy(tmp_con); in iface_from_record()
35 free(tmp_con); in iface_from_record()
36 tmp_con = NULL; in iface_from_record()
40 &tmp_con, sepol_iface_get_msgcon(record)) < 0) in iface_from_record()
42 context_cpy(&tmp_iface->context[1], tmp_con); in iface_from_record()
43 context_destroy(tmp_con); in iface_from_record()
44 free(tmp_con); in iface_from_record()
45 tmp_con = NULL; in iface_from_record()
60 context_destroy(tmp_con); in iface_from_record()
61 free(tmp_con); in iface_from_record()
75 sepol_context_t *tmp_con = NULL; in iface_to_record() local
84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0) in iface_to_record()
86 if (sepol_iface_set_ifcon(handle, tmp_record, tmp_con) < 0) in iface_to_record()
88 sepol_context_free(tmp_con); in iface_to_record()
89 tmp_con = NULL; in iface_to_record()
91 if (context_to_record(handle, policydb, msgcon, &tmp_con) < 0) in iface_to_record()
93 if (sepol_iface_set_msgcon(handle, tmp_record, tmp_con) < 0) in iface_to_record()
95 sepol_context_free(tmp_con); in iface_to_record()
96 tmp_con = NULL; in iface_to_record()
103 sepol_context_free(tmp_con); in iface_to_record()