changeset 3365:96d677ad33fb

6509315 memory leak in iob_enum()
author cindi
date Thu, 04 Jan 2007 13:45:59 -0800
parents 7e34d39a60a5
children 71df92a4260a
files usr/src/lib/fm/topo/modules/sun4/ioboard/ioboard.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/fm/topo/modules/sun4/ioboard/ioboard.c	Thu Jan 04 12:58:57 2007 -0800
+++ b/usr/src/lib/fm/topo/modules/sun4/ioboard/ioboard.c	Thu Jan 04 13:45:59 2007 -0800
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -82,14 +82,12 @@
 
 	topo_mod_register(modhdl, &Iob_info, TOPO_VERSION);
 
-	did_hash_init(modhdl);
 	topo_mod_dprintf(modhdl, "Ioboard enumr initd\n");
 }
 
 void
 _topo_fini(topo_mod_t *modhdl)
 {
-	did_hash_fini(modhdl);
 	topo_mod_unregister(modhdl);
 }