Home
last modified time | relevance | path

Searched refs:clean_key (Results 1 – 1 of 1) sorted by relevance

/external/libselinux/src/
Dlabel_file.c578 char *clean_key = NULL; in lookup() local
589 clean_key = malloc(strlen(key) + 1); in lookup()
590 if (!clean_key) in lookup()
594 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup()
599 strcpy(clean_key + sofar, prev_slash); in lookup()
600 key = clean_key; in lookup()
647 free(clean_key); in lookup()