Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dibpkey_record.c80 char *tmp_subnet_prefix = NULL; in ibpkey_alloc_subnet_prefix_string() local
82 tmp_subnet_prefix = malloc(INET6_ADDRSTRLEN); in ibpkey_alloc_subnet_prefix_string()
84 if (!tmp_subnet_prefix) in ibpkey_alloc_subnet_prefix_string()
87 *subnet_prefix = tmp_subnet_prefix; in ibpkey_alloc_subnet_prefix_string()
237 char *tmp_subnet_prefix = NULL; in sepol_ibpkey_get_subnet_prefix() local
239 if (ibpkey_alloc_subnet_prefix_string(handle, &tmp_subnet_prefix) < 0) in sepol_ibpkey_get_subnet_prefix()
242 if (ibpkey_expand_subnet_prefix(handle, ibpkey->subnet_prefix, tmp_subnet_prefix) < 0) in sepol_ibpkey_get_subnet_prefix()
245 *subnet_prefix = tmp_subnet_prefix; in sepol_ibpkey_get_subnet_prefix()
249 free(tmp_subnet_prefix); in sepol_ibpkey_get_subnet_prefix()