Searched refs:localp (Results 1 – 1 of 1) sorted by relevance
1338 mib_item_t *localp; in mib_item_dup() local1346 localp = (mib_item_t *)malloc(c * sizeof (mib_item_t)); in mib_item_dup()1347 if (localp == NULL) in mib_item_dup()1353 (localp[c]).next_item = NULL; in mib_item_dup()1354 (localp[c]).group = item->group; in mib_item_dup()1355 (localp[c]).mib_id = item->mib_id; in mib_item_dup()1356 (localp[c]).length = item->length; in mib_item_dup()1357 (localp[c]).valp = (uintptr_t *)malloc( in mib_item_dup()1359 if ((localp[c]).valp == NULL) { in mib_item_dup()1360 mib_item_destroy(&localp); in mib_item_dup()[all …]