Print this page
patch tsoome-feedback
*** 22,33 ****
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <libxml/parser.h>
#include <fm/libtopo.h>
#include <topo_alloc.h>
#include <topo_error.h>
#include <topo_parse.h>
--- 22,31 ----
*** 193,203 ****
int n;
if (p == NULL)
return;
if (p->tpad_pgs != NULL) {
for (n = 0; n < p->tpad_pgcnt; n++)
- if (p->tpad_pgs[n] != NULL)
nvlist_free(p->tpad_pgs[n]);
topo_mod_free(mp,
p->tpad_pgs, p->tpad_pgcnt * sizeof (nvlist_t *));
}
tf_rdata_free(mp, p->tpad_child);
--- 191,200 ----