summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum_drive.c
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-06-22 18:13:43 +0000
committerle <le@FreeBSD.org>2004-06-22 18:13:43 +0000
commite2e28b4745de4a1bbbc197ef1f7f2ea0549f9d80 (patch)
tree51af037eb9f18d33f70d134310d716c9d2e34e24 /sys/geom/vinum/geom_vinum_drive.c
parenta1bdd1093ee6dc0b53449be28aec2eebf09e3dd1 (diff)
downloadFreeBSD-src-e2e28b4745de4a1bbbc197ef1f7f2ea0549f9d80.zip
FreeBSD-src-e2e28b4745de4a1bbbc197ef1f7f2ea0549f9d80.tar.gz
No need to free the softc, because it wasn't allocated.
Diffstat (limited to 'sys/geom/vinum/geom_vinum_drive.c')
-rw-r--r--sys/geom/vinum/geom_vinum_drive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum_drive.c b/sys/geom/vinum/geom_vinum_drive.c
index b3a3325..7a83c77 100644
--- a/sys/geom/vinum/geom_vinum_drive.c
+++ b/sys/geom/vinum/geom_vinum_drive.c
@@ -421,7 +421,6 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_detach(cp);
g_destroy_consumer(cp);
- g_free(gp->softc);
g_destroy_geom(gp);
return (NULL);
}
OpenPOWER on IntegriCloud