summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2003-06-16 19:18:06 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2003-06-16 19:18:06 +0000
commit81cb12571a6438e535df2b46e1afb6e56313dc12 (patch)
treed1aa8e5bf477f1092412857ab1fa6e64ed0c4312 /sys
parentad0c7dea8c8f05ae7382f3f3cd1bf5e91d9fa171 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/nexus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/nexus.c b/sys/sparc64/sparc64/nexus.c
index cf70ced52f70..2a7c34878362 100644
--- a/sys/sparc64/sparc64/nexus.c
+++ b/sys/sparc64/sparc64/nexus.c
@@ -248,8 +248,10 @@ nexus_probe(device_t dev)
dinfo->ndi_bustag = &nexus_bustag;
dinfo->ndi_dmatag = &nexus_dmatag;
device_set_ivars(cdev, dinfo);
- } else
+ } else {
free(name, M_OFWPROP);
+ free(type, M_OFWPROP);
+ }
}
device_set_desc(dev, "OpenFirmware Nexus device");