Home
last modified time | relevance | path

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

/external/iptables/libiptc/
Dlibiptc.c499 unsigned int array_mem; in iptcc_chain_index_alloc() local
504 array_mem = sizeof(h->chain_index) * array_elems; in iptcc_chain_index_alloc()
507 array_elems, array_mem); in iptcc_chain_index_alloc()
509 h->chain_index = malloc(array_mem); in iptcc_chain_index_alloc()
510 if (h->chain_index == NULL && array_mem > 0) { in iptcc_chain_index_alloc()
514 memset(h->chain_index, 0, array_mem); in iptcc_chain_index_alloc()