Searched refs:con_cpy (Results 1 – 1 of 1) sorted by relevance
297 char *con_cpy = NULL; in context_from_string() local301 con_cpy = malloc(con_str_len + 1); in context_from_string()302 if (!con_cpy) in context_from_string()304 memcpy(con_cpy, con_str, con_str_len); in context_from_string()305 con_cpy[con_str_len] = '\0'; in context_from_string()307 if (sepol_context_from_string(handle, con_cpy, &ctx_record) < 0) in context_from_string()314 free(con_cpy); in context_from_string()323 free(con_cpy); in context_from_string()