Lines Matching refs:tmp_con
61 context_struct_t *tmp_con = NULL; in port_from_record() local
88 if (context_from_record(handle, policydb, &tmp_con, in port_from_record()
91 context_cpy(&tmp_port->context[0], tmp_con); in port_from_record()
92 context_destroy(tmp_con); in port_from_record()
93 free(tmp_con); in port_from_record()
94 tmp_con = NULL; in port_from_record()
107 context_destroy(tmp_con); in port_from_record()
108 free(tmp_con); in port_from_record()
125 sepol_context_t *tmp_con = NULL; in port_to_record() local
138 if (context_to_record(handle, policydb, con, &tmp_con) < 0) in port_to_record()
141 if (sepol_port_set_con(handle, tmp_record, tmp_con) < 0) in port_to_record()
144 sepol_context_free(tmp_con); in port_to_record()
151 sepol_context_free(tmp_con); in port_to_record()