diff options
author | sd77468 <none@none> | 2008-04-08 11:11:55 -0700 |
---|---|---|
committer | sd77468 <none@none> | 2008-04-08 11:11:55 -0700 |
commit | 8382f4a911ce636139095b29f3fc7a6be80a4dd1 (patch) | |
tree | b325573d0f38afe9f4ca5603a9266a122a5bdd6a | |
parent | 842c5645dc246ff7fd786d8a6f56644d79705e18 (diff) | |
download | illumos-gate-8382f4a911ce636139095b29f3fc7a6be80a4dd1.tar.gz |
6684522 potential for double free in cpuboard enum
-rw-r--r-- | usr/src/lib/fm/topo/modules/sun4v/cpuboard/cpuboard_hostbridge.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/lib/fm/topo/modules/sun4v/cpuboard/cpuboard_hostbridge.c b/usr/src/lib/fm/topo/modules/sun4v/cpuboard/cpuboard_hostbridge.c index 5af31f5e02..474aa94fda 100644 --- a/usr/src/lib/fm/topo/modules/sun4v/cpuboard/cpuboard_hostbridge.c +++ b/usr/src/lib/fm/topo/modules/sun4v/cpuboard/cpuboard_hostbridge.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -151,7 +151,6 @@ cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, if (topo_prop_set_string(rcn, TOPO_PGROUP_IO, TOPO_IO_DEV, TOPO_PROP_IMMUTABLE, dnpath, &err) != 0) { topo_mod_dprintf(mp, "Failed to set DEV property\n"); - di_devfs_path_free(dnpath); topo_mod_seterrno(mp, err); } di_devfs_path_free(dnpath); |