Deleted Added
full compact
libzfs_import.c (284308) libzfs_import.c (296528)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1317 unchanged lines hidden (view full) ---

1326
1327error:
1328 for (pe = pools.pools; pe != NULL; pe = penext) {
1329 penext = pe->pe_next;
1330 for (ve = pe->pe_vdevs; ve != NULL; ve = venext) {
1331 venext = ve->ve_next;
1332 for (ce = ve->ve_configs; ce != NULL; ce = cenext) {
1333 cenext = ce->ce_next;
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1317 unchanged lines hidden (view full) ---

1326
1327error:
1328 for (pe = pools.pools; pe != NULL; pe = penext) {
1329 penext = pe->pe_next;
1330 for (ve = pe->pe_vdevs; ve != NULL; ve = venext) {
1331 venext = ve->ve_next;
1332 for (ce = ve->ve_configs; ce != NULL; ce = cenext) {
1333 cenext = ce->ce_next;
1334 if (ce->ce_config)
1335 nvlist_free(ce->ce_config);
1334 nvlist_free(ce->ce_config);
1336 free(ce);
1337 }
1338 free(ve);
1339 }
1340 free(pe);
1341 }
1342
1343 for (ne = pools.names; ne != NULL; ne = nenext) {

--- 406 unchanged lines hidden ---
1335 free(ce);
1336 }
1337 free(ve);
1338 }
1339 free(pe);
1340 }
1341
1342 for (ne = pools.names; ne != NULL; ne = nenext) {

--- 406 unchanged lines hidden ---